Created
July 22, 2021 18:41
-
-
Save flrichar/c98812afcf6d623252b881a34cb1d567 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
| ### grab nameTags privIP and IPv6 addrs | |
| aws ec2 describe-instances --profile=mongooseZ13 --region=ca-central-1 --query 'Reservations[].Instances[].[Tags[?Key==`Name`] | [0].Value, InstanceId, PrivateIpAddress, NetworkInterfaces[].Ipv6Addresses]' --output=text | |
| # note I dont care about EIPs ... left that as an excercise for the reader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment