Skip to content

This NPM module helps you fetch data from AWS parameter store and assign it to Process.env variable

License

Notifications You must be signed in to change notification settings

Chetan1302/aws-process-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-process-env

This NPM module helps you fetch data from AWS parameter store and assign it to Process.env variable

aws-process-env

This NPM module helps you fetch data from AWS parameter store and assign it to Process.env variable

Installation

Install via npm

npm install aws-process-env

Getting Started

  • This module is most helpful when your program is using Parameter store to store environment variables and you need all variables available synchronously as soon as program starts.
  • Module will fetch all parameters and will store in Process.env variable.
  • It also supports cascading
  • You can call this module in main thread.

Example

  const aws = require('aws-process-env');
  aws.getProcessEnv('<AWS_REGION>', '<root path of Parameter store>');
Parameters default value
region US-EAST-1 Region where application is running
Root Path none Path of Parameter store. If none pass '/'

About

This NPM module helps you fetch data from AWS parameter store and assign it to Process.env variable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages