sparse-caravan-37954
01/23/2024, 2:53 PMaws:batch:JobDefinition (my-jobDefinition):
error: 1 error occurred:
* Retrieving AWS account details: validating provider credentials: retrieving caller identity from STS: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: b48d33a2-5fda-4c9d-829a-1ded6a2143ea, api error ExpiredToken: The security token included in the request is expired
The error occurs for three different jobDefinitions. The same error occurs with pulumi destroy
.
I am using a Pulumi environment with aws-oidc.
I tried:
1. Recreating the oidc role.
2. Using a standard aws profile instead of a Pulumi environment
a. Removing all configs and credentials and make them brand new
3. Using a sso profile.
CLI command aws sts get-caller-identity
returns correctly my info.
Any idea?sparse-caravan-37954
01/23/2024, 3:08 PMlittle-cartoon-10569
01/23/2024, 6:58 PMlittle-cartoon-10569
01/23/2024, 6:59 PMsparse-caravan-37954
01/23/2024, 10:35 PMsparse-caravan-37954
01/23/2024, 10:35 PMlittle-cartoon-10569
01/23/2024, 11:01 PM