Error: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request send failed #26074
Labels
authentication
Pertains to authentication; to the provider itself of otherwise.
bug
Addresses a defect in current functionality.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.2.6
on darwin_arm64
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Expected Behavior
Obtain the credentials via Vault and orchestrate my resources
Steps to Reproduce
terraform apply
Important Factoids
I already tried to use another provider version like v3.x but the problem remains. Actually when I try to downgrade, I'm getting a different error:
terraform init -upgrade
References
#23209
The text was updated successfully, but these errors were encountered: