Skip to content

Commit 211aaad

Browse files
committed
fix: Fixing actions
1 parent f2e93bb commit 211aaad

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/actions/oidc/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ runs:
3333
role-to-assume: ${{ inputs.role-for-oidc }}
3434
role-session-name: ${{ inputs.role-session-name }}
3535
role-duration-seconds: 900
36-
role-arn-account-id: ${{ inputs.aws-account-id }}
3736
- name: assume target role
3837
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
3938
id: assume-target-role
@@ -46,4 +45,3 @@ runs:
4645
role-to-assume: ${{ inputs.role-to-assume }}
4746
role-session-name: ${{ inputs.role-session-name }}
4847
role-duration-seconds: ${{ inputs.role-duration-seconds }}
49-
role-arn-account-id: ${{ inputs.aws-account-id }}

.github/workflows/integration-tests.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ jobs:
2828
- name: Set up AWS credentials via OIDC and role chaining
2929
uses: ./.github/actions/oidc
3030
with:
31-
role-for-oidc: ${{ secrets.ROLE_FOR_OIDC }}
32-
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
33-
aws-account-id: ${{ secrets.DEV_ACCOUNT_ID }}
31+
role-for-oidc: arn:aws:iam::${{ secrets.DEV_ACCOUNT_ID }}:role/${{ secrets.ROLE_FOR_OIDC }}
32+
role-to-assume: arn:aws:iam::${{ secrets.DEV_ACCOUNT_ID }}:role/${{ secrets.ROLE_TO_ASSUME }}
3433
aws-region: ${{ vars.AWS_REGION_KMS_KEY }}
3534
- name: Create integration test config
3635
run: |

0 commit comments

Comments
 (0)