Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance RegionProviderAutoConfiguration make profile configuration easier #1125

Open
maxjiang153 opened this issue Apr 2, 2024 · 0 comments

Comments

@maxjiang153
Copy link

Type: Feature

Is your feature request related to a problem? Please describe.
Currently when a project wants to use profile configuration with credentials and regions, we need to configure twice profile configuration.
for example:

spring:
  cloud:
    aws:
      credentials:
        profile:
          name: example
      region:
        profile:
          name: example

Even if profile's credential region as same as region.

Describe the solution you'd like

If we can enhance RegionProviderAutoConfiguration load credential configuration when the region profile doesn't exist, it will be easier to use profile configuration.

example:

spring:
  cloud:
    aws:
      credentials:
        profile:
          name: example

Describe alternatives you've considered
Because AWS credential profile already contains region configuration, it will be more clear and easier to use this configure method.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant