Skip to content

Conversation

kpcraig
Copy link
Contributor

@kpcraig kpcraig commented Mar 21, 2025

Description

This PR resolves an issue introduced in #29051. When no endpoint/region is specified, we will append a default region to the config, and then check to see if the number of endpoints matches the number of regions. This check will fail - see #29869

This PR will resolve #29869 by adding a default endpoint and region if none are specified.

TODO only if you're a HashiCorp employee

  • Backport Labels: If this fix needs to be backported, use the appropriate backport/ label that matches the desired release branch. Note that in the CE repo, the latest release branch will look like backport/x.x.x, but older release branches will be backport/ent/x.x.x+ent.

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Mar 21, 2025
@kpcraig kpcraig added this to the 1.19.1 milestone Mar 21, 2025
Copy link

github-actions bot commented Mar 21, 2025

CI Results:
All Go tests succeeded! ✅

@kpcraig kpcraig marked this pull request as ready for review March 25, 2025 17:10
@kpcraig kpcraig requested review from a team as code owners March 25, 2025 17:10
@kpcraig kpcraig requested a review from prakashlinga March 25, 2025 17:10
Copy link

github-actions bot commented Mar 25, 2025

Build Results:
All builds succeeded! ✅

Copy link
Collaborator

@tvo0813 tvo0813 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kpcraig kpcraig merged commit f7f3be2 into main Mar 28, 2025
92 checks passed
@kpcraig kpcraig deleted the VAULT-34649/sts-region-endpoint-mismatch branch March 28, 2025 18:27
drivera258 pushed a commit that referenced this pull request Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.19.0 Breaking Bug: AWS STS 400 Error: {"errors":["number of regions does not match number of endpoints"]}
3 participants