Created
December 12, 2013 00:11
-
-
Save garnaat/7921001 to your computer and use it in GitHub Desktop.
Find all instances with a tag name of "component" and then return just the Tags themselves.
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 --filters Name=tag-key,Values=component --query 'Reservations[].Instances[].Tags' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment