Created
September 27, 2017 00:48
-
-
Save aaronlifton/2449b19da70d7ae6b06af9ace7512c1d to your computer and use it in GitHub Desktop.
describe ec2 instances in all regions
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
for region in `aws ec2 describe-regions --output text | cut -f3` | |
do | |
echo -e "\nListing Instances in region:'$region'..." | |
aws ec2 describe-instances --region $region | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment