s5cmd icon indicating copy to clipboard operation
s5cmd copied to clipboard

Update AWS SDK to support EKS container

Open tisonet opened this issue 1 year ago • 8 comments

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

tisonet avatar Nov 01 '24 13:11 tisonet

Thank you for opening this PR. I'm running into the same issue.

andrewtapay avatar Nov 13 '24 21:11 andrewtapay

I have seen the same issue. Could we get this fixed pretty pretty please? @igungor ?

pnowojski avatar Nov 28 '24 14:11 pnowojski

Also faced this issue, @ilkinulas can you help with reviewing this PR please?

rkhachatryan avatar Dec 02 '24 15:12 rkhachatryan

@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

vrdn-23 avatar Apr 15 '25 21:04 vrdn-23

@tisonet thanks the for PR. Can you share your compiled binaries?

vwxyzjn avatar Aug 13 '25 21:08 vwxyzjn

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!

vwxyzjn avatar Aug 13 '25 21:08 vwxyzjn

Anything we can do to help this PR get merged?

Efrat19 avatar Sep 14 '25 10:09 Efrat19

I can not wait anymore, and create a fork release here: https://github.com/hustcer/s5cmd/releases with many PRs merged, including this one.

hustcer avatar Sep 14 '25 10:09 hustcer