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

Let the AWS SDK determine the default region. #5317

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

teo-tsirpanis
Copy link
Member

SC-55556

While the S3 VFS' default AWS region is always us-east-1, the AWS SDK uses a sequence of multiple sources to determine the default region. This PR lets the AWS SDK pick a region if the user has not chosen one with the vfs.s3.region option, improving the experience when on regions other than us-east-1.

This was implemented by updating the default value of vfs.s3.region to empty. There is already logic to keep using the AWS SDK's default if the config option is empty.


TYPE: CONFIG
DESC: The default value of vfs.s3.region was changed to empty, which will let the AWS pick the default region from sources such as environment variables, profile configuration, and instance metadata.

@teo-tsirpanis teo-tsirpanis requested a review from a team as a code owner September 23, 2024 15:11
Copy link
Contributor

@nickvigilante nickvigilante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved tiledb/api/c_api/config/config_api_external.h and tiledb/sm/cpp_api/config.h only. Thanks!

@teo-tsirpanis teo-tsirpanis merged commit c1e5924 into dev Sep 26, 2024
64 checks passed
@teo-tsirpanis teo-tsirpanis deleted the teo/s3-default-region branch September 26, 2024 14:21
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

Successfully merging this pull request may close these issues.

3 participants