A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/abeMedia/serverless-disable-functions below:

abemedia/serverless-disable-functions: A simple serverless plugin to disable functions.

serverless-disable-functions

A simple serverless plugin to disable functions.

yarn add --dev serverless-disable-functions

or

npm install --save-dev serverless-disable-functions

Add the plugin to your serverless.yml file:

plugins:
  - serverless-disable-functions

Add the parameter enabled: false to a function to disable it. This allows you to enable/disable functions by stage like so:

service: hello-service
provider: aws
custom:
  hello_enabled:
    dev: true
    prod: false

functions:
  hello:
    handler: handler.hello
    enabled: ${self:custom.hello_enabled.${opt:stage}}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4