Skip to content

Instantly share code, notes, and snippets.

@nbeguier
Created November 27, 2020 15:38
Show Gist options
  • Save nbeguier/d179e7b1271598558c4d4fa6e559a287 to your computer and use it in GitHub Desktop.
Save nbeguier/d179e7b1271598558c4d4fa6e559a287 to your computer and use it in GitHub Desktop.
AWS Tower - discover public verbose
$ ./aws_tower_cli.py discover my-aws-account-profile --public-only --verbose
{
"vpc-1234567980": {
"main-vpc-intra": {},
"main-vpc-private": {},
"main-vpc-private-lb": {},
"main-vpc-public": {
"EC2": [
{
"Name": "custom-nginx",
"PrivateIpAddress": "10.11.1.59",
"PublicIpAddress": "15.200.200.20",
"SecurityGroups": {
"sg-0123456789": {
"22": [
"192.168.0.254/32",
"192.168.1.0/24",
"89.9.9.9/32"
],
"9000": [
"0.0.0.0/0"
],
"80": [
"0.0.0.0/0"
]
}
}
}
]
},
"main-vpc-public-lb": {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment