gifted-balloon-26385
03/05/2025, 5:50 PMgifted-balloon-26385
03/05/2025, 5:51 PM{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Federated": "pulumi oidc arn"
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringEquals": {
"api.pulumi.com/oidc:aud": "aws:companyname",
"api.pulumi.com/oidc:sub": "pulumi:environments:org:companyname:env:project/env"
}
}
}
]
}
When I try to open the env, I get
Error: could not authenticate with AWS.
Error:
Error: Please ensure that your trust relationship is correct
...
InvalidIdentityToken: Incorrect token audience
the suggested subject/aud in the error message exactly match my Conditions above. the project wasn’t cloned from default or anything like that. any idea why?gifted-balloon-26385
03/05/2025, 5:53 PMgifted-balloon-26385
03/05/2025, 7:20 PMgifted-balloon-26385
03/05/2025, 7:35 PMred-match-15116
03/05/2025, 11:03 PMgifted-balloon-26385
03/05/2025, 11:09 PMgifted-balloon-26385
03/05/2025, 11:13 PMred-match-15116
03/05/2025, 11:15 PM