Skip to content

Make BedrockAwsConnectionProperties#region empty by default #3225

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

therepanic
Copy link

If our region is empty, then DefaultAwsRegionProviderChain will be used, which will search for the region in every possible way. This should be better for us, instead of setting the default field ourselves.

Resolves: #3223

@ilayaperumalg
Copy link
Member

@therepanic Thanks for the PR! Could you update the documentation for the change (removing the default)?

@therepanic
Copy link
Author

Thanks, @ilayaperumalg. Sorry, I accidentally formatted the wrong changes and closed the PR.

I changed the documentation of the region field (to make it clear that if it is empty, DefaultAwsRegionProviderChain will figure out which region to use).

Also, I have now specified the region in the tests to make the tests pass. Everything should be fine now.

@ilayaperumalg
Copy link
Member

ilayaperumalg commented May 17, 2025

@therepanic No problem at all, thank you for the quick follow up!

…-projects#3223)

Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
@therepanic
Copy link
Author

I forgot to use spring-javaformat:apply, run the build again please

@markpollack
Copy link
Member

@ashakirin what do you think?

@tzolov
Copy link
Contributor

tzolov commented May 18, 2025

Mind, that removing the default region is a breaking change. It has to come at 1.1.x

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

Successfully merging this pull request may close these issues.

Change the BedrockAwsConnectionProperties region property to be empty by default
4 participants