bsh-get-ssm-env

1.0.4 • Public • Published

Utility to create/update .env file from AWS SSM

If .env does not exist it will be created
If .env exists a .env-timestamp file will be created
A parameter prefix and AWS region must be provided
A different file name can optionally be provided
Examples
const { getParams } = require('bsh-get-ssm-env');

const PREFIX = '/dev';
const REGION = 'us-east-2';

getParams(PREFIX, REGION);
const PREFIX = '/dev';
const REGION = 'us-east-2';
const ENV_FILE = '.environment';

getParams(PREFIX, REGION, ENV_FILE);

Readme

Keywords

none

Package Sidebar

Install

npm i bsh-get-ssm-env

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

2.45 kB

Total Files

3

Last publish

Collaborators

  • euchremylucre