Created
September 15, 2016 15:36
-
-
Save wellsie/8d71dfedfec09946950a31a994ee004b to your computer and use it in GitHub Desktop.
get amazon linux ami (minimal, hvm, ebs, x86_64)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 describe-images \ | |
--owners amazon \ | |
--filters \ | |
Name=architecture,Values=x86_64 \ | |
Name=virtualization-type,Values=hvm \ | |
"Name=name,Values=*minimal*2016.03.3*"\ | |
Name=root-device-type,Values=ebs \ | |
| jq .Images[].ImageId -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment