Skip to content

Commit f494e3d

Browse files
[PRM-495] fix typo
1 parent 83ecc4e commit f494e3d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
# TODO might want a testing specific testing role
3131
role-to-assume: ${{ secrets.IAM_ROLE_ECR_HOLDING_ACCOUNT_READ_WRITE }}
32-
aws-region: ${{ var.AWS_REGION }}
32+
aws-region: ${{ vars.AWS_REGION }}
3333
mask-aws-account-id: true
3434

3535
- name: Build
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
env:
4242
NHS_ENVIRONMENT: dev
43-
AWS_REGION: ${{ var.AWS_REGION }}
44-
AWS_DEFAULT_REGION: ${{ var.AWS_REGION }}
43+
AWS_REGION: ${{ vars.AWS_REGION }}
44+
AWS_DEFAULT_REGION: ${{ vars.AWS_REGION }}
4545
run: |
4646
./gradlew test --tests "uk.nhs.prm.e2etests.test.RepositoryE2ETest"

.github/workflows/ehr-repo-build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: aws-actions/configure-aws-credentials@v4
5151
with:
5252
role-to-assume: ${{ secrets.IAM_ROLE_ECR_HOLDING_ACCOUNT_READ_WRITE }}
53-
aws-region: ${{ var.AWS_REGION }}
53+
aws-region: ${{ vars.AWS_REGION }}
5454
mask-aws-account-id: true
5555

5656
- name: Login to Amazon ECR
@@ -93,7 +93,7 @@ jobs:
9393
uses: aws-actions/configure-aws-credentials@v4
9494
with:
9595
role-to-assume: ${{ secrets.IAM_ROLE_ECR_HOLDING_ACCOUNT_READ_WRITE }}
96-
aws-region: ${{ var.AWS_REGION }}
96+
aws-region: ${{ vars.AWS_REGION }}
9797
mask-aws-account-id: true
9898

9999
- name: Deploy Infrastructure

.github/workflows/test-ecr-repo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ jobs:
9898
# https://docs.aws.amazon.com/cli/latest/reference/dynamodb/create-table.html
9999
- name: Create AWS resources
100100
run: |
101-
awslocal dynamodb create-table --region ${{ var.AWS_REGION }} --cli-input-json file://scripts/local-test-db-scheme.json --no-cli-page
102-
awslocal s3 mb s3://$S3_BUCKET_NAME --region ${{ var.AWS_REGION }}}
101+
awslocal dynamodb create-table --region ${{ vars.AWS_REGION }} --cli-input-json file://scripts/local-test-db-scheme.json --no-cli-page
102+
awslocal s3 mb s3://$S3_BUCKET_NAME --region ${{ vars.AWS_REGION }}}
103103
104104
- name: Run Integration Test
105105
run: npm run test:integration

0 commit comments

Comments
 (0)