- NPM Downloads Last Month
A serverless plugin for tracking deployed versions of your code.
This plugin has a super simple function: after you run
serverless deploy, it will create a local git tag based on the version of the Lambda function that you just deployed. For instance, if your function is named
foo-production-index and a deploy creates Lambda version 56, this plugin will automatically create a local git tag
This guarantees that you always know exactly what version of your source code is actually running in the cloud.
serverless plugin install --name serverless-version-tracker
Install the module using npm:
npm install serverless-version-tracker --save-dev
serverless-version-tracker to the plugin list of your
plugins: - serverless-version-tracker
By default, this plugin only runs for deployments to the production stage. If you’d like to customize this behavior, you can set the
versionTrackerStages custom variable.
sls deploy --stage production). The plugin will automatically tag your local Git repository with the Lambda function name and new version.