Skip to content

Commit

Permalink
add environment variable for AWS_REGION
Browse files Browse the repository at this point in the history
  • Loading branch information
sukeshreddyg committed Jul 5, 2024
1 parent cb860b0 commit 333cfbd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/core-vpc-development-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ defaults:
run:
shell: bash

env:
AWS_REGION: "eu-west-2"

jobs:
core-vpc-development-deployment-plan-apply:
uses: ./.github/workflows/reusable_terraform_plan_apply.yml
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/core-vpc-preproduction-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,8 @@ on:
workflow_dispatch:

env:
TF_IN_AUTOMATION: true
TF_ENV: "preproduction"
AWS_REGION: "eu-west-2"
ENVIRONMENT_MANAGEMENT: ${{ secrets.MODERNISATION_PLATFORM_ENVIRONMENTS }}


permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/core-vpc-production-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ defaults:
run:
shell: bash

env:
AWS_REGION: "eu-west-2"

jobs:
core-vpc-production-deployment-plan-apply:
uses: ./.github/workflows/reusable_terraform_plan_apply.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/core-vpc-test-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ defaults:
run:
shell: bash

env:
AWS_REGION: "eu-west-2"

jobs:
core-vpc-test-deployment-plan-apply:
uses: ./.github/workflows/reusable_terraform_plan_apply.yml
Expand Down

0 comments on commit 333cfbd

Please sign in to comment.