Created
May 19, 2020 00:53
-
-
Save pataiji/dd07457ff33596d35a88fcbd3b05c09c to your computer and use it in GitHub Desktop.
List VPC CidrBlocks
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 ec2 describe-vpcs | jq '.Vpcs[] | { CidrBlock: .CidrBlock, Name: .Tags[] | select(.Key == "Name").Value }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment