Last active
December 12, 2015 06:19
-
-
Save mndoci/4728659 to your computer and use it in GitHub Desktop.
Various AWS cli calls parsed using jq
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
aws ec2 describe-images | jq '.Images[] | {name, description}' | |
aws ec2 describe-instances | jq -c '.Reservations[] | .Instances[] | {InstanceId, InstanceType}' | |
aws ec2 describe-instances | jq -c '.Reservations[] | .Instances[] | {InstanceId, InstanceType, PublicIpAddress}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment