JSPM

serverless-snowflake-external-function-plugin

0.1.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q32241F
  • License BSD-3-Clause

Serverless plugin for Snowflake External Functions

Package Exports

  • serverless-snowflake-external-function-plugin
  • serverless-snowflake-external-function-plugin/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-snowflake-external-function-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Snowflake External Function Serverless Plugin

Serverless Plugin for deploying Snowflake External Functions to Amazon Web Services (AWS).

The plugin supports all serverless programming languages including javascript, python, java, scala, clojure, haskell or rust.

Usage

To install the plugin, simply install it from the central npm repository:

npm install --save serverless-snowflake-external-function-plugin

Then add serverless-snowflake-external-function-plugin to your serverless.yml's plugins section:

plugins:
  - serverless-snowflake-external-function-plugin

Starting new project from Serverless Snowflake template (Node)

In case you start the external function development from the beginning, the best and easiest way is to use snowflake-aws-external-function template:

serverless create --template-url https://github.com/starschema/snowflake-aws-external-function -p hello-function
cd hello-function
npm install serverless-snowflake-external-function-plugin
vim serverless.yml # edit snowflake section
vim handler.js # change handler implementation
serverless deploy

This video shows how to deploy your code:

asciicast

Deployed objects

The sls deploy function creates one api integration snowflake object for your project (equals to your service name) and one external function for each serverless function handler in serverless.yml.

sls remove will remove all api and function snowflake objects.

License

BSD-3-Clause.

(C) Tamas Foldi, Starschema.