Skip to content

fix(s3): resolve region without IMDS probe when endpoint/region known - #24

Merged
hoshimura merged 1 commit into
mainfrom
fix_resolve_s3region_without_imds
Oct 7, 2026
Merged

hoshimura merged 1 commit into
mainfrom
fix_resolve_s3region_without_imds

Conversation

@hoshimura

Copy link
Copy Markdown
Collaborator

Cold S3 config load dropped ~3000ms -> ~5ms off-EC2: the default region provider probed EC2 IMDS when no region was set. Resolve region from override/env/profile first and load with a concrete region; only a genuine real-AWS target (no endpoint, no region) consults the IMDS region provider.

Cold S3 config load dropped ~3000ms -> ~5ms off-EC2: the default region
provider probed EC2 IMDS when no region was set. Resolve region from
override/env/profile first and load with a concrete region; only a genuine
real-AWS target (no endpoint, no region) consults the IMDS region provider.
@hoshimura
hoshimura added this pull request to stack #26 October 6, 2026 07:23

@hannabjorgvins hannabjorgvins left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me

@hoshimura
hoshimura merged commit 7d7b846 into main Oct 7, 2026
8 checks passed
@hoshimura
hoshimura deleted the fix_resolve_s3region_without_imds branch October 7, 2026 09:40
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.

2 participants