Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 924 Bytes

File metadata and controls

25 lines (17 loc) · 924 Bytes

serverless-selective-function-deploy

npm version npm downloads

This plugin enables selective deployment of AWS Lambda functions in a Serverless Framework project by setting a toDeploy boolean in the function's configuration.

toDeploy property defaults to true, meaning that functions will be deployed unless explicitly set otherwise.

  1. Add the plugin to your serverless.yml:
plugins:
  - serverless-selective-function-deploy
  1. Mark functions with toDeploy in your function configuration
functions:
  myFunction:
    handler: handler.myFunction
    toDeploy: false