0.0.3 • Published 4 years ago

serverless-get-version v0.0.3

Weekly downloads
4
License
UNLICENSED
Repository
github
Last release
4 years ago

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-version

Add the custom configuration:

custom:
  apiVersion:
    name: functionName # Optional (by default - version)
    paths: # Optional - /version (by default) - /sites/{site}/route

Installation

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-version

Domain Distillation

Please define your core domain here.

Development

License

This package is not licensed.

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago