serverless-rollbar-deploys
Send serverless deployment notifications to Rollbar.
Install
npm install --save-dev serverless-rollbar-deploys
Usage
Add the plugin and configure the accessToken and deployUser as demonstrated below.
plugins: - serverless-rollbar-deploys custom: rollbar: accessToken: STRING_VALUE deployUser: ${env:USER}
Notes
- The
environment
sent to Rollbar will be thestage
option. - Remember that the plugins are executed in the order they are listed, so you probably want to list
serverless-rollbar-deploys
last.
Possible Improvements
- Notify on other deployment events such as start and fail.
- Only warn rather than fail if the any of the other variables are missing.