Serverless Plugin Select

homepage icon https://github.com/FidelLimited/serverless-plugin-select
Follow @FidelLimited

Tracked

NPM Downloads Last Month
9064
Issues
0
Stars
0
Forks
0
Watchers
0
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

Serverless Select Plugin

serverless npm version npm downloads license

Select which functions are to be deployed based on region and stage.

Note: Requires Serverless v1.12.x or higher.

Setup

Install via npm in the root of your Serverless service:

npm install serverless-plugin-select --save-dev
plugins:
  - serverless-plugin-select
  - ...

Function

functions:
  hello:
    regions:
      - eu-west-1
      - ...
functions:
  hello:
    stages:
      - dev
      - ...

Contribute

Help us making this plugin better and future proof.

License

This software is released under the MIT license. See the license file for more details.