Serverless Offline Ssm

homepage icon https://github.com/janders223/serverless-offline-ssm
Follow @janders223

Tracked

NPM Downloads Last Month
548
Issues
1
Stars
14
Forks
5
Watchers
14
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

serverless-offline-ssm

Build Status

This Serverless plugin allows you to develop offline while using AWS SSM parameters in your serverless.yml template. The plugin looks for environment variables which are fulfilled by SSM parameters at build time and substitutes them from a .env file when running locally with the serverless-offline plugin.

Documentation

Installation

First install the plugins using npm or yarn

npm install serverless-offline serverless-offline-ssm --save-dev

#or

yarn install -D serverless-offline serverless-offline-ssm

Then inside of your project’s serverless.yml file add the following to the plugins section. Note it is important that serverless-offline-ssm is loaded before serverless-offline. This is important to ensure that we are setting the variables properly for serverless-offline before it needs them.

plugins:
    - serverless-offline-ssm
    - serverless-offline

Contributing

Pull requests are always welcome. Please see the contributing guidelines.

License

MIT