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

Techdebt: Remove dependency on get_available_regions #6078

Open
bblommers opened this issue Mar 16, 2023 · 0 comments · May be fixed by #6362
Open

Techdebt: Remove dependency on get_available_regions #6078

bblommers opened this issue Mar 16, 2023 · 0 comments · May be fixed by #6362

Comments

@bblommers
Copy link
Collaborator

bblommers commented Mar 16, 2023

Moto uses, for the vast majority of services, the botocore.get_available_regions-method to determine in what regions a particular service is available.

This method was always a bit flaky - it would take along time for new services to be available, and every now and then a new release would break the list for an existing service.

AWS' recommendation is to use the SSM parameter store instead, to determine per-region availability - see aws/aws-sdk#206 (comment)

Moto should investigate whether we can also switch to using this method. The data is available in Moto, and it is updated regularly, so I assume it will be possible - just a potential performance issue to have to read the JSON file first thing.

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

Successfully merging a pull request may close this issue.

1 participant