-
Notifications
You must be signed in to change notification settings - Fork 375
Issue 553: AWS region should be retrieved considering multiple strategies. #559
Issue 553: AWS region should be retrieved considering multiple strategies. #559
Conversation
…dering multiple strategies and using `DefaultAwsRegionProviderChain`
Thanks @giova333 for PR. I am working on the same issue at exactly same time with a bit different approach as we cannot break backward compatibility at this stage. I appreciate your efforts - give me some time to mark issues as "ideal-to-contribution" and then you could pick them up. |
@maciejwalkowiak Sure, no problem. |
@maciejwalkowiak Looks good. The idea to enable |
Yes I believe so too 👍 Either in 2.3 or 3.0 default chains for both credentials and regions will be used unless static values are provided. |
Fixes spring-attic#553 Fixes spring-attic#120 Closes spring-attic#559 Closes spring-attic#560
Fixes spring-attic#553 Fixes spring-attic#120 Closes spring-attic#559 Closes spring-attic#560
Currently, spring cloud aws uses
Ec2MetadataRegionProvider
for dynamic region lookup.However, this solution doesn't work in some cases such #553
We should consider using
com.amazonaws.regions.DefaultAwsRegionProviderChain
that provides multiple strategies for the region lookup