-
Notifications
You must be signed in to change notification settings - Fork 653
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
Support endpoint configuration via env and shared config #2226
Comments
Thanks for the feature request. This is actually a cross-SDK initiative (and it appears it has already landed in the CLI) that we were tracking internally. We'll leave this feature request open for visibility. |
I was just searching this exact thing yesterday myself as well. Is there any idea of an ETA for when this might be released? |
Will be resolved by #2328. |
|
Resolved and re-merged. |
|
Describe the feature
Given that the AWS-CLI has received support for endpoint configuration via
AWS_ENDPOINT_URL
env vars, or the shared config file, as detailed here: https://aws.amazon.com/blogs/developer/new-improved-flexibility-when-configuring-endpoint-urls-with-the-aws-sdks-and-tools/It would be nice if the Go AWS SDK also supported this to be able to configure the AWS endpoint url automatically as done with other variables, without having to explicitly specify it in code.
Use Case
Configuring the AWS session via environment variables or the shared configuration file without having to maintain the variable in multiple places to pass it to code via a
WithEndpoint
func.Proposed Solution
No response
Other Information
No response
Acknowledgements
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2 v1.20.1
Go version used
go1.20.5, MacOS Ventura 13.5
The text was updated successfully, but these errors were encountered: