credential_process using sts get-session-token fails for aws_iam_role and aws_iam_profile with InvalidClientTokenId #12111
Labels
service/iam
Issues and PRs that pertain to the iam service.
waiting-response
Maintainers are waiting on response from community or contributor.
Community Note
Terraform Version
Terraform v0.12.20
(AWS provider 2.49.0)
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
The rest of this module works perfectly, dealing with S3, instances, routes, vpc, all kinds of stuff; the IAM user being used has Administrator access via IAM.
The credential_process invoked takes access and secret keys from various secret backends, then invokes
aws sts get-session-token
, massages them into the correct format withjq
and uses the session credentials.If I hardcode the same access and secret keys into the AWS credentials file everything works as expected.
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: