Skip to content

Commit 19130be

Browse files
committed
chore: fix redundant env vars
1 parent cb7c620 commit 19130be

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/integration-aws.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ jobs:
3535
env:
3636
CSP: "aws"
3737
PREFIX: "nvs"
38-
AWS_ACCOUNT_ID: "615299774277" # Replace with actual account ID
38+
AWS_ACCOUNT_ID: "615299774277"
3939
AWS_REGION: "us-east-1"
4040
GITHUB_ACTIONS_ROLE_NAME: "github-actions-role"
41-
GITHUB_ACTIONS_ROLE_ARN: "arn:aws:iam::528757803597:role/github-actions-role" # Replace with actual role ARN
42-
OIDC_PROVIDER_ARN: "arn:aws:iam::615299774277:oidc-provider/token.actions.githubusercontent.com"
4341
CLUSTER_NAME: "nvs-d${{ github.run_id }}"
4442
K8S_VERSION: "1.34"
4543
EKSCTL_VERSION: "0.216.0"
@@ -61,7 +59,7 @@ jobs:
6159
id: auth
6260
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
6361
with:
64-
role-to-assume: ${{ env.GITHUB_ACTIONS_ROLE_ARN }}
62+
role-to-assume: "arn:aws:iam::${{ env.AWS_ACCOUNT_ID }}:role/${{ env.GITHUB_ACTIONS_ROLE_NAME }}"
6563
aws-region: ${{ env.AWS_REGION }}
6664
role-session-name: GitHubActions-NVSentinel-Integration
6765

0 commit comments

Comments
 (0)