Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

automate region name lookups #9

Open
bleything opened this issue Sep 16, 2022 · 2 comments
Open

automate region name lookups #9

bleything opened this issue Sep 16, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@bleything
Copy link
Contributor

MongoDB Atlas uses their own labels for cloud provider regions. Here's the list of Google Cloud regions with their labels. This introduces a small amount of friction for us because if a user wants to change regions while maintaining locality they must look up both the Google Cloud region name and the corresponding Atlas region name.

We might want to try to find a way to ease this friction, perhaps by allowing the user to specify either the atlas or gcp region name and then translating it to the other.

There's an API endpoint called returnAllCloudProviderRegions but it doesn't appear to return both the atlas and provider names.

There's a lot of approaches that could work but all of them involve a level of complexity that we're not ready to commit to. Opening this issue as a place to explore ideas and discuss.

@bleything bleything added the enhancement New feature or request label Sep 16, 2022
@bleything
Copy link
Contributor Author

/cc @sis0k0 for input from the mongodb side

@subfuzion
Copy link
Member

Basically looking for this mapping information as an API (ideally available as part of the Atlas terraform provider).

@subfuzion subfuzion mentioned this issue Sep 16, 2022
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants