Created
November 27, 2020 15:32
-
-
Save nbeguier/b8dda1475de1411357b739c7e6911ac6 to your computer and use it in GitHub Desktop.
AWS Tower - discover
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_tower_cli.py discover my-aws-account-profile | |
{ | |
"vpc-1234567980": { | |
"main-vpc-intra": {}, | |
"main-vpc-private": { | |
"EC2": [ | |
{ | |
"Name": "patrowl-manager", | |
"PrivateIpAddress": "10.10.1.49", | |
"PubliclyAccessible": false | |
}, | |
{ | |
"Name": "sast", | |
"PrivateIpAddress": "10.10.1.60", | |
"PubliclyAccessible": false | |
} | |
] | |
}, | |
"main-vpc-private-lb": { | |
"ELBV2": [ | |
{ | |
"DNSName": "internal-patrowl-manager-lb-20201127.eu-west-1.elb.amazonaws.com", | |
"DnsRecord": "patrowl.my-private-domain.com.", | |
"PubliclyAccessible": false | |
} | |
] | |
}, | |
"main-vpc-public": { | |
"EC2": [ | |
{ | |
"Name": "custom-nginx", | |
"PrivateIpAddress": "10.11.1.59", | |
"PublicIpAddress": "15.200.200.20", | |
"PubliclyAccessible": true | |
} | |
] | |
}, | |
"main-vpc-public-lb": {} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment