Update AWS SDK to support EKS container
Update AWS SDK to the latest version to fix issue in EKS containers:
Ignoring, HTTP credential provider invalid endpoint host, "169.254.170.23", only loopback hosts are allowed.
The support for EKS has been added to SDK by this commit https://github.com/aws/aws-sdk-go/commit/bcc4451db167837d314912ff667b2975eaba34af#diff-33cf96874b95777ed427cc539ea43d9881ee56a8d98a124dbd6d3b71f7c0e10fR128
Thank you for opening this PR. I'm running into the same issue.
I have seen the same issue. Could we get this fixed pretty pretty please? @igungor ?
Also faced this issue, @ilkinulas can you help with reviewing this PR please?
@igungor @ilkinulas Is it possible to get this merged in for a new release? We are using pod-identity credentials for our EKS pods and the minimum version for the AWS Go SDK needs to be greater than v1.47
@tisonet thanks the for PR. Can you share your compiled binaries?
For those in the same boat:
go install github.com/vwxyzjn/s5cmd/v2@8247bb8305a7a9b7ed2c3b1222683765da75b66a
go: downloading github.com/vwxyzjn/s5cmd/v2 v2.2.3-0.20250813212154-8247bb8305a7
go: finding module for package github.com/peak/s5cmd/v2/command
go: found github.com/peak/s5cmd/v2/command in github.com/peak/s5cmd/v2 v2.3.0
ls -la /home/ubuntu/go/bin/
total 22112
drwxrwxr-x 2 ubuntu ubuntu 19 Aug 13 21:23 .
drwxrwxr-x 4 ubuntu ubuntu 28 Aug 13 21:23 ..
-rwxrwxr-x 1 ubuntu ubuntu 22638599 Aug 13 21:26 s5cmd
Then it works!
Anything we can do to help this PR get merged?
I can not wait anymore, and create a fork release here: https://github.com/hustcer/s5cmd/releases with many PRs merged, including this one.