This package has been deprecated

Author message:

this package has been deprecated

serverless-get-version

0.0.3 • Public • Published

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.

/serverless-get-version/

    Package Sidebar

    Install

    npm i serverless-get-version

    Weekly Downloads

    1

    Version

    0.0.3

    License

    UNLICENSED

    Unpacked Size

    2.06 MB

    Total Files

    66

    Last publish

    Collaborators

    • jshilo