Skip to content

Latest commit

 

History

History

ec2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

EC2 Templates for AWS CloudFormation

Find the documentation here: http://templates.cloudonaut.io/en/stable/ec2/

Developer notes

RegionMap

To update the region map execute the following lines in your terminal:

$ regions=$(aws ec2 describe-regions --query "Regions[].RegionName" --output text)
$ for region in $regions; do ami=$(aws --region $region ec2 describe-images --filters "Name=name,Values=amzn-ami-hvm-2017.09.0.20170930-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n  AMI: '$ami'\n"; done