Serverless Framework Plugin to Deploy and Remove AWS Additional Stacks
npm install sls-plugin-additional-stacks!David
!GitHub code size in bytes
!GitHub repo size
!npm
!npm
!npm
!npm
!NPM
!npm
!GitHub last commit
!npm collaborators
Serverless Framework Plugin to Deploy and Remove AWS Additional Stacks
To install with npm, run this in your service directory:
``bash`
npm install --save sls-plugin-additional-stacks
Then add this to your serverless.yml
`yml`
plugins:
- sls-plugin-additional-stacks
To define Additional Stacks, add a additionalStacks section like this to yourserverless.yml:
`yml`
custom:
additionalStacks:
users: ...
Your Additional Stacks will be deployed automatically when you run:
`bash`
sls deploy
To deploy all Additional Stacks without deploying the Serverless service, use:
`bash`
sls deploy additionalStacks
To deploy a single Additional Stack without deploying the Serverless service, use:
`bash`
sls deploy additionalStacks --stack [appName]
To only deploy the Serverless service without deploying the Additional Stacks, use:
`bash`
sls deploy --skipAdditionalStacks
To remove a single Additional Stack without removing the Serverless service, use:
`bash`
sls remove additionalStacks --stack [appName]
To remove all Additional Stacks without removing the Serverless service, use:
`bash``
sls remove additionalStacks --all