hashicorp / go-getter

Package for downloading things from a string URL using a variety of protocols.
Mozilla Public License 2.0
1.65k stars 232 forks source link

go-getter uses only EC2 instance credentials when accessing S3 but not PODs #456

Open jeffsaremi opened 1 year ago

jeffsaremi commented 1 year ago

This code does not work under kubernetes since the instance creds are not available

https://github.com/hashicorp/go-getter/blob/e66f244d9206aca1ce0dee4823c833fecb2f77fc/get_s3.go#L220-L228

As such we can't access S3 paths under k8s. I have tried versions up to 1.7.2 Does anyone have a fix for this?