Application (run.py) uses cross account roles to collect the IP range of all VPCs in an organization. Users will need to ensure the proper cross account roles are created for each account. Application process flow:
- Assumes role in Org Master to list all accounts
- Assumes Default Cross Account role to each child account to list regions and then describe VPCs in each region
- Returns results and appends a CSV file with the following values: AccountId, CIDR Block, VpcId, Region located.
This application uses threading to speed up the process of querying the regions of each account. Users will notice a momentary spike in local machine resources as the threads and sessions are created and the APIs invoked.
License
This library is licensed under the Apache 2.0 License.