Skip to content

Commit ebb6551

Browse files
committed
Update role-to-assume in AWS credentials configuration to use secret for account ID
1 parent a0fe35a commit ebb6551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/terraform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Configure AWS credentials via OIDC
6060
uses: aws-actions/configure-aws-credentials@v4
6161
with:
62-
role-to-assume: arn:aws:iam::382284572497:role/GitHubActionsInfraRole
62+
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/GitHubActionsInfraRole
6363
role-session-name: GitHubActions-${{ github.run_id }}
6464
aws-region: us-east-1
6565
audience: sts.amazonaws.com

0 commit comments

Comments
 (0)