When using the permission id-token: write It seems that that this action automatically goes down the OIDC flow This is not always intended behaviour i.e. when using both OIDC for another action and IAM instance roles within the same job. Looks like these lines are responsible https://github.com/aws-actions/configure-aws-credentials/blob/main/src/assumeRole.ts#L152-L153
id-token: write
Should be allowed to use both OIDC and non OIDC AWS credentials flow in same action
AWS auth fails as tries to go down OIDC flow
Create job with id-token: write when you do not want to use the OIDC flow
Provide explicit OIDC option and do not reply on presence of token(option:true && webToken:true) ?
No response