-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stabilize the selection of region from partition in AWS Auth (#8161)
AWS client object caches are by region. Some AWS API calls don't care what region's client they use, but the existing getAnyRegionForAwsPartition scheme was returning a random region, which in turn triggered maintaining many more client objects than are necessary (e.g. 18 regions in the main AWS partition). This can be an issue for heavy STS users bumping up against STS rate limits, since 18 sets of creds are being cached and renewed per STS role.
- Loading branch information
Jim Kalafut
authored
Feb 14, 2020
1 parent
f96f4ee
commit 324b4d4
Showing
2 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters