0.0.14 • Published 3 years ago

@edgedelta/serverless-plugin-edgedelta v0.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Serverless Plugin

This plugin has been generated using the plugin template from the Serverless Framework.

Implementing your plugin

When developing your plugin, please refer to the following sources:

Sharing your plugin

We are currently using public organization scoped npm packages to publish our plugin.

npm run build
npm publish --access public   

On the Serverless service side, you can install the plugin by running:

serverless plugin install -n  @edgedelta/serverless-plugin-edgedelta

which will install the latest version.

Also our plugin needs some configuration variables:

  • enabled: when set to false, no operation is done. Defaults to true
  • edEndpoint: Edge Delta hosted environment endpoint. Required if operation is set to "add"
  • operation: Supports adding "add" and removing "remove" Edge Delta lambda extension. Defaults to "add".
  • excludeFunctions: Function names you want to exclude from either operation.
  • enableTags: Tags configured on the function is added to the lambda environmnet with EDTAG prefix. Defaults to false.

Sample config:

custom:
  edgedelta:
    enabled: true
    edEndpoint: "https://us-west-2.aws.ingress.edgedelta.com/listen/179d2640-fafb-4d3f-81ea-ad3abda3c239"
    operation: "add"
    excludeFunctions: ["dev-lambdaName2"]
    enableTags: true

In order to deploy function with extension we currently support:

serverless deploy function --function <func name> --verbose

In order to do full deploy:

serverless deploy --verbose
0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago