Skip to content

Unset/zero-value region should explicitly fail endpoint resolution #2502

Closed
@lucix-aws

Description

There was a subtle change with either the introduction of EndpointResolverV2 or AuthSchemeResolver (I haven't deep-dived yet) - an empty region string on client config now incorrectly gets passed to endpoint resolution, which tends to result in nonsense hostnames like ram..amazonaws.com.

This should instead result in the "region" endpoint parameter being effectively unset/nil which will cause endpoint resolution to fail with an error that's actually useful.

There has been a ton of very warranted customer confusion around this recently, see the following:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugThis issue is a bug.p1This is a high priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions