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

Service specific endpoints compatible resolver #396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sjones4
Copy link

@sjones4 sjones4 commented Oct 4, 2024

This is an alternative to #52 allowing aws service endpoints to be configured as per the service-specific endpoints feature defined environment variables which are not otherwise supported in the aws sdk for go v1.

Description of changes:
An endpoint resolver is configured which delegates to the default resolver unless there is relevant configuration in the environment.

When environment configuration is found for service endpoints it is used unless disabled via AWS_IGNORE_CONFIGURED_ENDPOINT_URLS=true. The configuration can set all service endpoints (AWS_ENDPOINT_URL) or can configure endpoints for specific services.

This endpoint resolver would no longer be required after updating to the aws sdk for go v2.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sjones4 sjones4 requested a review from a team as a code owner October 4, 2024 15:49
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

Successfully merging this pull request may close these issues.

1 participant