Last active
November 23, 2015 03:03
-
-
Save deekayen/6b208d3f456c08913431 to your computer and use it in GitHub Desktop.
Amazon CLI query to get information from a specific region for copy/pasting into the AWS Vulnerability / Penetration Testing Request Form
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-instances --region us-west-2 --profile default --filters "Name=instance-type,Values=t2.micro,t2.small,*.medium,*large" "Name=instance-state-name,Values=running" --query Reservations[*].Instances[*].[InstanceId,PrivateIpAddress] --output text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment