Skip to content

Tag an ec2 environment with parameters stored in ssm.

License

Notifications You must be signed in to change notification settings

lezavala/ec2-ssm-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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..

About

Tag an ec2 environment with parameters stored in ssm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages