sls-plugin-additional-stacks
v6.1.0
Published
Serverless Framework Plugin to Deploy and Remove AWS Additional Stacks
Downloads
321
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-stacks
Then add this to your serverless.yml
plugins:
- sls-plugin-additional-stacks
Configuration
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 deploy
To deploy all Additional Stacks without deploying the Serverless service, use:
sls deploy additionalStacks
To 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 --skipAdditionalStacks
To 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