Created
May 9, 2016 16:55
-
-
Save jkordish/38c7a8446511b6b4fb45560e302d9e43 to your computer and use it in GitHub Desktop.
filter ec2 instances
This file contains hidden or 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 --filter "Name=tag:Name,Values=blah*" --output text --query "Reservations[].Instances[].Tags[?Key=='Name'].Value" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment