Allow setting IgnoreConfiguredEndpoints
on config.LoadOptions
#2423
Labels
feature-request
A feature should be added or improved.
p3
This is a minor priority issue
queued
This issues is on the AWS team's backlog
Describe the feature
The
config.SharedConfig
andconfig.EnvConfig
structs both have a parameterIgnoreConfiguredEndpoints
that sets a common endpoint URL for all services.config.LoadOptions
does not have the corresponding parameter.Also add the corresponding
WithIgnoreConfiguredEndpoints
functional option.Use Case
There does not seem to be a way to override endpoints configured using environment variables or the shared config file. While the
aws.Config
returned byconfig.LoadDefaultConfig
could be manually modified, this would not affect any service clients potentially used internally byLoadDefaultConfig
, such as for STS.Proposed Solution
No response
Other Information
No response
Acknowledgements
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2 v1.24.0
github.com/aws/aws-sdk-go-v2/config v1.26.1
Go version used
go version go1.21.0 darwin/arm64
The text was updated successfully, but these errors were encountered: