Created
September 28, 2018 13:12
-
-
Save jmhale/5a27833565e5185a4838b2227765b690 to your computer and use it in GitHub Desktop.
Get all AMIs in use in AWS
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-instances | jq -r '[.Reservations[].Instances[].ImageId] | unique[]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment