From 1874070d24e4d74f5868b9b2d0f9a76b4c6d9e21 Mon Sep 17 00:00:00 2001 From: Mike Connor Date: Wed, 28 Feb 2024 13:44:02 -0800 Subject: [PATCH] Move var substitute to constext. --- .github/workflows/diff.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/diff.yaml b/.github/workflows/diff.yaml index 64cd891..4120962 100644 --- a/.github/workflows/diff.yaml +++ b/.github/workflows/diff.yaml @@ -5,7 +5,6 @@ on: branches: - '*' - jobs: deploy: name: Deploy CDK stacks to test @@ -14,13 +13,15 @@ jobs: actions: write contents: read id-token: write + env: + DEPLOY_ROLE: ${{vars.GHA_AWS_DEPLOY_ROLE}} steps: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: - role-to-assume: ${{vars.GHA_AWS_DEPLOY_ROLE}} - aws-region: eu-west-1 + role-to-assume: $DEPLOY_ROLE + aws-region: eu-west-2 - name: Checkout repo uses: actions/checkout@v2