Skip to content

Commit 8ee67c5

Browse files
authored
Update deploy.yml
1 parent eebb5a9 commit 8ee67c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
role-to-assume: arn:aws:iam::677043464939:role/GitHubAction-AssumeRoleWithAction
2828
role-session-name: GitHub_to_AWS_via_FederatedOIDC
29-
aws-region: us-east-1
29+
aws-region: ${{ secrets.AWS_REGION }}
3030
# Hello from AWS: WhoAmI
3131
- name: Sts GetCallerIdentity
3232
run: |
@@ -147,7 +147,7 @@ jobs:
147147
with:
148148
role-to-assume: arn:aws:iam::677043464939:role/GitHubAction-AssumeRoleWithAction
149149
role-session-name: GitHub_to_AWS_via_FederatedOIDC
150-
aws-region: us-east-1
150+
aws-region: ${{ secrets.AWS_REGION }}
151151
- name: Deploy to Test Environment
152152
env:
153153
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}
@@ -173,7 +173,7 @@ jobs:
173173
with:
174174
role-to-assume: arn:aws:iam::677043464939:role/GitHubAction-AssumeRoleWithAction
175175
role-session-name: GitHub_to_AWS_via_FederatedOIDC
176-
aws-region: us-east-1
176+
aws-region: ${{ secrets.AWS_REGION }}
177177
- name: Get PR number from GitHub API
178178
id: pr
179179
run: |

0 commit comments

Comments
 (0)