Created
March 19, 2019 09:51
-
-
Save vincedgy/907040c990ddc833c5b5900f63884f09 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
# AWS CLI Snippets | |
## List EC2 Public IP, statuses and Name (like a short list in the console) | |
```terminal | |
aws ec2 describe-instances --query "Reservations[].Instances[].[Tags[?Key=='Name'].Value|[0], InstanceId, State.Name, PublicIpAddress]" | |
```` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment