Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for GovCloud Regions #48

Open
gregwalters opened this issue Mar 16, 2021 · 2 comments
Open

Support for GovCloud Regions #48

gregwalters opened this issue Mar 16, 2021 · 2 comments

Comments

@gregwalters
Copy link

It would be nice if the us-gov-west-1 and us-gov-east-1 regions were supported.

When running a query against a gov region:

$ aws-list-all query --directory aws_inventory --region us-gov-west-1 --service ec2 -v -v
Increasing the open connection limit "nofile" from 256 to 6000.

Building set of queries to execute...
...done. Executing queries...
...done

Expected results would be queries running against the region instead of no queries ran.

@JohannesEbke
Copy link
Owner

Hi @gregwalters , thanks for the report! Currently, aws_list_all is not "partition-aware", so get_available_regions defalts to the "aws" partition, see the code at

https://boto3.amazonaws.com/v1/documentation/api/latest/_modules/boto3/session.html#Session.get_available_regions

This is going to be interesting, as I do not have access to any other partition rather than "aws". I'd very much like to put in the code, but it would be most useful if someone could test it afterwards. @gregwalters , would you be up for that?

@gregwalters
Copy link
Author

Yeah, I'm totally happy to help you test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants