serverless-setenv

Serverless plugin for using dotenv and shell commands to load environment variables..

Usage no npm install needed!

<script type="module">
  import serverlessSetenv from 'https://cdn.skypack.dev/serverless-setenv';
</script>

README

Serverless Set Env Plugin

Build Master

Table of Contents

  1. Description
  2. Requirements
  3. Installation
  4. Using the Plugin
  5. Notes
  6. License

Description

This plugin allow you to call a CLI command to create and remove an AWS Route 53 hosted zone. This plugin is designed for the Serverless Framework 1.x.

Requirements

  • Serverless Framework 1.x.
  • Node 10.x or greater.
  • NPM 6.x or greater.

Installation

Installing the Serverless Framework

Visit the Getting Started with the Serverless Framework to get started with the Serverless Framework.

Install with npm:

npm install -g serverless

Installing the Plugin

Install with npm:

npm install --save-dev serverless-setenv

Using the Plugin

And then add the plugin to your serverless.yml file:

plugins:
  - serverless-setenv

custom:
  setenv:

See the example(s).

Notes

Please request features or report problems using the issues page.

License

See the included LICENSE for rights and limitations under the terms of the MIT license.