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

Generate region data from AWS SDK data #120

Closed
gdavison opened this issue Feb 16, 2022 · 0 comments · Fixed by #1176
Closed

Generate region data from AWS SDK data #120

gdavison opened this issue Feb 16, 2022 · 0 comments · Fixed by #1176
Labels
enhancement New feature or request

Comments

@gdavison
Copy link
Contributor

Since the AWS SDK for Go v2 no longer exposes partition and region data (aws/aws-sdk-go-v2#1205), we provide our own for region validation with https://github.com/hashicorp/aws-sdk-go-base/blob/main/internal/endpoints/endpoints.go. This is currently maintained manually.

Add a generate step to build this data from the AWS SDK data in https://github.com/aws/aws-sdk-go-v2/blob/main/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant