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

fix(rust): set token provider explicitly #2817

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

ion-elgreco
Copy link
Collaborator

@ion-elgreco ion-elgreco commented Aug 22, 2024

Description

If we don't explicitly set a token provider with our region provider, then the SDK loader takes the default region provider chain which then starts pinging the ec2 metadata address, and emits unnecessary warnings.

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label Aug 22, 2024
@ion-elgreco ion-elgreco added this pull request to the merge queue Aug 23, 2024
Merged via the queue into delta-io:main with commit 89b4c19 Aug 23, 2024
18 checks passed
@ion-elgreco ion-elgreco deleted the fix/prevent_ec2_metadata_warn branch August 23, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"failed to load region from IMDS" back in 0.19 despite AWS_EC2_METADATA_DISABLED=true
2 participants