-
Notifications
You must be signed in to change notification settings - Fork 542
Description
Describe the bug
Last week we got following error in our pipeline.

Our step config looks like following:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: eu-west-1
role-to-assume: ${{ env.DEV_AWS_ROLE_ARN }}
role-duration-seconds: 1200
We already figured out that the v4 tag was moved last week. Thats the reason, why we got this error not earlier.
Everything works fine, when we use the version @v4.1.0
The error occurs with version @v4.2.0
I can not see any changes between the versions, that could produce this error.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
action should not throw the error, or give more context, which response can not be parsed correctly.
Current Behavior
Action throws error:
Error: char 'F' is not expected.:1:1
Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.
Reproduction Steps
this is how we configure our step:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: eu-west-1
role-to-assume: ${{ env.DEV_AWS_ROLE_ARN }}
role-duration-seconds: 1200
I already checked our role arn, its correctly configured.
Possible Solution
I investigated a lot of time, but i have no clue whats wrong with our pipeline. Do have any idea what I can do next ?
Additional Information/Context
Our Github Runner is self hosted on a ECS. It runs in a aws account and wants to assume a role of a different account.
As I already mentioned, it works with a previous version. So our iam configuration is correct.