Skip to content

Commit

Permalink
restored the previus plan action
Browse files Browse the repository at this point in the history
  • Loading branch information
uolter committed Sep 6, 2024
1 parent f7c8fa0 commit bcca98a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/terraform-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ permissions:

jobs:
terraform:
name: "terraform-plan-${{ matrix.environment }}-${{ matrix.region }}"
name: "terraform-plan-${{ matrix.environment }}"
runs-on: ubuntu-22.04
strategy:
matrix:
environment: [dev, uat, prod]
region: ${{ matrix.environment == 'prod' && ['eu-south-1', 'eu-central-1'] || ['eu-south-1'] }}

environment: [dev, uat]
environment: ${{ matrix.environment }}

env:
Expand All @@ -41,5 +39,5 @@ jobs:
uses: ./.github/workflows/plan
with:
working-directory: ${{ env.WORKING_DIR }}
region: ${{ matrix.region }}
region: ${{ env.AWS_REGION }}
iam_role: ${{ vars.IAM_ROLE_IAC }}

0 comments on commit bcca98a

Please sign in to comment.