dashboards:
stages:
- production
templates:
- default
Install updated plugin version yarn add -D Marcholio/serverless-plugin-aws-alerts#master
Run dry run deployment to staging stage. Verify that the stack file does not contain dashboard configuration and CLI outputs Info: Not deploying dashboards on stage staging
Run dry run deployment to production stage. Verify that the stack file contains dashboard configuration.
Todos:
[X] Write tests
[X] Write documentation
[X] Fix linting errors
[X] Provide verification config/commands/resources
What did you implement:
Implements #109
Allows creation of dashboards only in specific stages.
How did you implement it:
Added support for specifying dashboards option as follows:
How can we verify it:
yarn add -D Marcholio/serverless-plugin-aws-alerts#master
staging
stage. Verify that the stack file does not contain dashboard configuration and CLI outputsInfo: Not deploying dashboards on stage staging
production
stage. Verify that the stack file contains dashboard configuration.Todos: