serverless-rollbar-deploys

Send serverless deployment notifications to Rollbar.

Usage no npm install needed!

<script type="module">
  import serverlessRollbarDeploys from 'https://cdn.skypack.dev/serverless-rollbar-deploys';
</script>

README

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 the stage 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.