serverless-get-version v0.0.3
Get Version
This is a serverless plugin to import GET /version api to the service stack.
This plugin allows you to specify the function name and http event paths for API Gateway's REST API and it will append version function.
By default, Serverless creates automatically an API Gateway for each Serverless stack or service (i.e. serverless.yml) you deploy. This plugin will append by default GET /version api endpoint to the service and return version number from custom provider variables.
Add the plugin to your serverless.yml:
plugins:
- serverless-get-versionAdd the custom configuration:
custom:
apiVersion:
name: functionName # Optional (by default - version)
paths: # Optional - /version (by default) - /sites/{site}/routeInstallation
This is a private @cumulusds package. You will need to npm login before adding the package or running yarn install. To add the sts-sites dependency to your package, run:
yarn add serverless-get-versionDomain Distillation
Please define your core domain here.
Development
License
This package is not licensed.