Created
December 3, 2018 00:11
-
-
Save JamesJJ/62c437208e7f02b338611019f6a1f289 to your computer and use it in GitHub Desktop.
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 --region ap-southeast-1 describe-instances \ | |
--query 'Reservations[*].Instances[*].[InstanceId,Tags[?Key==`Name`].Value|[0],State.Name,PrivateIpAddress]' --output table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment