sls-plugin-additional-stacks
v6.1.0
Published
Serverless Framework Plugin to Deploy and Remove AWS Additional Stacks
Downloads
269
Maintainers
Readme
sls-plugin-additional-stacks
Serverless Framework Plugin to Deploy and Remove AWS Additional Stacks
Installation
To install with npm, run this in your service directory:
npm install --save sls-plugin-additional-stacksThen add this to your serverless.yml
plugins:
- sls-plugin-additional-stacksConfiguration
To define Additional Stacks, add a additionalStacks section like this to your
serverless.yml:
custom:
additionalStacks:
users: ...Command Line Usage
Your Additional Stacks will be deployed automatically when you run:
sls deployTo deploy all Additional Stacks without deploying the Serverless service, use:
sls deploy additionalStacksTo deploy a single Additional Stack without deploying the Serverless service, use:
sls deploy additionalStacks --stack [appName]To only deploy the Serverless service without deploying the Additional Stacks, use:
sls deploy --skipAdditionalStacksTo remove a single Additional Stack without removing the Serverless service, use:
sls remove additionalStacks --stack [appName]To remove all Additional Stacks without removing the Serverless service, use:
sls remove additionalStacks --all