serverless-selective-function-deploy
v1.0.0
Published
A Serverless plugin to selectively deploy functions based on a toDeploy boolean property.
Downloads
192
Maintainers
Readme
serverless-selective-function-deploy
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.
- Add the plugin to your serverless.yml:
plugins:
- serverless-selective-function-deploy
- Mark functions with
toDeploy
in your function configuration
functions:
myFunction:
handler: handler.myFunction
toDeploy: false