IAM roles for service accounts (IRSA) is a feature of EKS to provide IAM role creds to kubernetes pods. The aws-sdk version (v1.15.78) used in the current version of go-getter doesn't support IRSA in its default credential chain. Versions after v1.23.13 are supported (source). To overcome this problem, a recent version of aws-sdk should be used.
The use case: We bumped into this problem while using terraform (via atlantis) in a kubernetes pod.