Created
October 27, 2014 11:57
-
-
Save epower/7c5f4236868505c2bc88 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
aws ec2 describe-instances --filters "Name=tag:Name, Values=EP_*" --query 'Reservations[].Instances[].[Tags[?Key==`Name`] | [0]. Value, State.Name, InstanceId]' --output table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment