Unverified Commit 8b32dee5 authored by ysaito1001's avatar ysaito1001 Committed by GitHub
Browse files

Revert version 2.1 of the IMDS credentials provider (#4187)

## Motivation and Context
We released the feature [in this
release](https://github.com/awslabs/aws-sdk-rust/releases/tag/release-2025-06-12),
but till the infrastructure is fully ready, we'll temporarily revert the
functionality.

## Testing
- CI

## Checklist
- [x] For changes to the AWS SDK, generated SDK code, or SDK runtime
crates, I have created a changelog entry Markdown file in the
`.changelog` directory, specifying "aws-sdk-rust" in the `applies_to`
key.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent 71c40d11
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
---
applies_to:
- aws-sdk-rust
authors:
- ysaito1001
references:
- smithy-rs#4187
breaking: false
new_feature: false
bug_fix: false
---
Temporarily disable fetching account ID from IMDS credentials on EC2.
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"

[[package]]
name = "aws-config"
version = "1.8.0"
version = "1.6.4"
dependencies = [
 "aws-credential-types",
 "aws-runtime",
+1 −1
Original line number Diff line number Diff line
[package]
name = "aws-config"
version = "1.8.0"
version = "1.8.1"
authors = [
    "AWS Rust SDK Team <aws-sdk-rust@amazon.com>",
    "Russell Cohen <rcoh@amazon.com>",
+1 −10
Original line number Diff line number Diff line
@@ -733,17 +733,8 @@ pub(crate) mod test {
        .unwrap()
    }

    pub(crate) fn imds_response_404() -> HttpResponse {
        HttpResponse::try_from(
            http::Response::builder()
                .status(404)
                .body(SdkBody::empty())
                .unwrap(),
        )
        .unwrap()
    }

    pub(crate) fn make_imds_client(http_client: &StaticReplayClient) -> super::Client {
        tokio::time::pause();
        super::Client::builder()
            .configure(
                &ProviderConfig::no_configuration()
+90 −730

File changed.

Preview size limit exceeded, changes collapsed.

Loading