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
toDeployin your function configuration
functions: myFunction: handler: handler.myFunction toDeploy: false