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