Skip to content

Instantly share code, notes, and snippets.

View simonseo's full-sized avatar

Simon Seo simonseo

  • Snap Inc.
  • Los Angeles, CA
View GitHub Profile
@simonseo
simonseo / ec2-host-from-tag-to-env-vars.sh
Created April 15, 2020 17:59 — forked from marcellodesales/ec2-host-from-tag-to-env-vars.sh
Create Environment Variables in EC2 Hosts from EC2 Host Tags, just like Beanstalk or Heroku does!
######
# Author: Marcello de Sales ([email protected])
# Description: Create Create Environment Variables in EC2 Hosts from EC2 Host Tags
#
### Requirements:
# * Install jq library (sudo apt-get install -y jq)
# * Install the EC2 Instance Metadata Query Tool (http://aws.amazon.com/code/1825)
#
### Installation:
# * Add the Policy EC2:DescribeTags to a User