Serverless Sthree Env

homepage icon https://github.com/StyleTributeIT/serverless-sthree-env
Follow @StyleTributeIT

Tracked

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

Repo README Contents:

STHREE ENV PLUGIN

This plugin is used to get config from a json formatted file in S3 and copy them to environment variable

HOW TO USE

For now it is quite simple, the bucket and config key name is predefined based on

Bucket: (service name)-config-(stage) Key: config.json

everything in that key will be copied over to your environment variable

eg. service name is my-apps and I am using dev stage

so create a bucket in the same region with the name my-apps-config-dev and config.json file inside there like below

{
  "KEY": "VALUE" 
}

FUTURE IMPROVEMENT