Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 821 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 821 Bytes

ec2-ssm-env

This script was written for my personal use and may not be suited to use in a production environment. Import tags from parameter store as Shell environment variables.

Requirements

Usage

sh import-params.sh -p /NAMESPACE/ENV/ -r us-west-1

Note The above will look for parameters stored under the path: /NAMESPACE/ENV/

IE

  • /NAMESPACE/ENV/APP_NAME
  • /NAMESPACE/ENV/APP_KEY
  • /NAMESPACE/ENV/DYNAMODB_HOST

It will then set then envirnoment as:

  • APP_NAME=value
  • APP_KEY=value
  • DYNAMODB_HOST=value

Acknowledgement

  • berpj
  • Guy

Todo

  • Modify script to allow for importing a single parameter..