joshlarsen / aws-recon

Multi-threaded AWS inventory collection tool with a focus on security-relevant resources and metadata.
https://archive.darkbit.io/resources
MIT License
529 stars 49 forks source link

Handle S3 location_constraint == 'EU' #128

Closed ajrosen closed 3 years ago

ajrosen commented 3 years ago

'EU' is a valid S3 location constraint, as an alias for eu-west-1. It's not a valid API endpoint however. This checks for 'EU' and sets location to 'eu-west-1' to avoid a NoSuchEndpoint error.

joshlarsen commented 3 years ago

Nice... thanks.