CloudWanderer-io / CloudWanderer

A Python package which wanders across your AWS account and records your resources in a variety of Storage Connectors
http://cloudwanderer.io
MIT License
24 stars 1 forks source link

VPC endpoint does not answer on global endpoints, so it should be possible to pass a regional client #245

Closed pooja-gautam closed 2 years ago

pooja-gautam commented 2 years ago

When running get_resource_discovery_actions(), CloudWanderer tries the get_account_id() call which creates a new global client for 'sts'. It should be possible to pass a regional service for sts and/or the account id that it's trying to fetch with the new client session. get_resource_discovery_actions() -> _inflate_action_set_regions() -> self.cloudwanderer_boto3_session.get_account_id()