Skip to content

Instantly share code, notes, and snippets.

@nbeguier
Created November 27, 2020 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nbeguier/b8dda1475de1411357b739c7e6911ac6 to your computer and use it in GitHub Desktop.
Save nbeguier/b8dda1475de1411357b739c7e6911ac6 to your computer and use it in GitHub Desktop.
AWS Tower - discover
$ ./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