1.2.3 • Published 7 years ago
serverless-deploy-newrelic v1.2.3
serverless-deploy-newrelic
Tiny Serverless plugin which calls New Relic deployment api after a deployment
Setting up
Add plugin to your repo
yarn add serverless-deploy-newrelic --devAdd plugin to serverless.yml
plugins:
- serverless-deploy-newrelicAdd plugin parameters
custom:
serverless-deploy-newrlic:
application_id: {your-applicaiton-id} # mandatory
admin_api_key: ${env:NEW_RELIC_API_KEY} # mandatory
user: ${env:USER} # not mandatoryUsage
serverless deploy --new-relic-revision=v1.1.1 --new-relic-release-description=some-description --new-relic-release-changelog=some-changelogSupported parameters
--new-relic-revisionfalls back to 'no-revision-specified' if empty--new-relic-release-descriptionfalls back to empty string if empty--new-relic-release-changelogfalls back to empty string if empty