Ec2MetadataRegionProvider#getRegion()
RegionProvider
is Ec2MetadataRegionProvider
, boom
DefaultAWSCredentialsProvider
is used for services - which seems only be true if you aren’t using the spring boot starters. The ContextCredentialsAutoConfiguration
always creates a custom credentials provider chain that gets used for the amazon service calls - over time things have been added (like profile support) to that chain, but it’s still doesn’t support all the options of the default one