Created
March 15, 2011 21:13
-
-
Save jadell/871501 to your computer and use it in GitHub Desktop.
AWS Instance ID from tag
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
# Assuming an instance tagged with Foo=bar | |
# Using the aws-tools | |
ec2-describe-tags --filter key=Foo value=bar | cut -f3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment