aws-param-env
Advanced tools
Comparing version 1.0.0 to 1.1.0
# Change Log | ||
## 1.0.0 (TBD) | ||
## 1.1.0 (2017-09-18) | ||
New: | ||
* `load()` function that executes the query with a given path | ||
## 1.0.0 (2017-09-13) | ||
Initial Release |
@@ -10,5 +10,11 @@ 'use strict'; | ||
function load( path ) { | ||
new EnvInitializer( path ).execute(); | ||
} | ||
module.exports = { | ||
initializer | ||
initializer, | ||
load | ||
}; |
{ | ||
"name": "aws-param-env", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Module for synchronously loading AWS SSM Parameter Store values into environment variables", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -27,6 +27,3 @@ [![Build Status](https://travis-ci.org/vandium-io/aws-param-env.svg?branch=master)](https://travis-ci.org/vandium-io/aws-param-env) | ||
awsParamEnv.initializer( '/my-service-path-in-ssm/env' ).execute(); | ||
// process.env will now contain environment variables that were stored in SSM | ||
// parameter store path of '/my-service-path-in-ssm/env/' | ||
awsParamEnv.load( '/my-service-path-in-ssm/env' ); | ||
``` | ||
@@ -33,0 +30,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5243
55
37