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

Automatically fetch AWS regions #8

Open
patrislav opened this issue Nov 6, 2020 · 0 comments
Open

Automatically fetch AWS regions #8

patrislav opened this issue Nov 6, 2020 · 0 comments

Comments

@patrislav
Copy link
Contributor

patrislav commented Nov 6, 2020

Instead of hardcoding a map of AWS region codes and their names, we should consider to instead fetch them directly from AWS. There are at least two different options of dealing with this:

  1. Having a go generate target that fetches the regions and generates a file based on them,
  2. Whenever starting the ingester, fetching the regions live from AWS

Considering how infrequently the list changes, option 1 might be less obtrusive.

See: https://github.com/cycloidio/poc/pull/11#discussion_r498819645

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

No branches or pull requests

1 participant