Skip to content

Commit

Permalink
Update builtin/credential/aws/backend.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>
  • Loading branch information
tyrannosaurus-becks and Jim Kalafut committed Apr 3, 2020
1 parent e58fe9e commit ae466ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/credential/aws/backend.go
Expand Up @@ -309,7 +309,7 @@ func generatePartitionToRegionMap() map[string]*endpoints.Region {
for _, p := range partitions {
// For most partitions, it's fine to choose a single region randomly.
// However, for the "aws" partition, it's best to choose "us-east-1"
// because it also support STS out of the box.
// because it is always enabled (and enabled for STS) by default.
for _, r := range p.Regions() {
if p.ID() == "aws" && r.ID() != "us-east-1" {
continue
Expand Down

0 comments on commit ae466ca

Please sign in to comment.