Skip to content

Instantly share code, notes, and snippets.

@nmrmsys
Last active April 19, 2016 11:38
Show Gist options
  • Save nmrmsys/d398c045149b0919308be36144df49be to your computer and use it in GitHub Desktop.
Save nmrmsys/d398c045149b0919308be36144df49be to your computer and use it in GitHub Desktop.
aws ec2 describe-instances | jq -r '.Reservations[].Instances[] | [.InstanceId, (.Tags[]? | select(.Key == "Name").Value)] | @csv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment