Skip to content

Instantly share code, notes, and snippets.

@jkordish
Created May 9, 2016 16:55
Show Gist options
  • Save jkordish/38c7a8446511b6b4fb45560e302d9e43 to your computer and use it in GitHub Desktop.
Save jkordish/38c7a8446511b6b4fb45560e302d9e43 to your computer and use it in GitHub Desktop.
filter ec2 instances
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