From c07443ff9e6a1ade850669372ef419378f06a3f9 Mon Sep 17 00:00:00 2001 From: aloftus23 Date: Wed, 13 Nov 2024 16:52:49 -0500 Subject: [PATCH] Update infrastructure pipeline to use stag-cd instead of stage --- .github/workflows/infrastructure.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/infrastructure.yml b/.github/workflows/infrastructure.yml index 3f749a2c3..168fada67 100644 --- a/.github/workflows/infrastructure.yml +++ b/.github/workflows/infrastructure.yml @@ -53,7 +53,7 @@ jobs: sudo mv terraform /usr/local/bin - name: Terraform init - run: terraform init -backend-config=stage.config + run: terraform init -backend-config=stage-cd.config env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -62,20 +62,20 @@ jobs: run: terraform validate - name: Terraform plan - run: terraform plan -var-file=stage.tfvars -out stage.plan + run: terraform plan -var-file=stage-cd.tfvars -out stage-cd.plan env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - name: Terraform apply if: github.ref == 'refs/heads/develop' - run: terraform apply stage.plan + run: terraform apply stage-cd.plan env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - if: ${{ always() }} - run: rm stage.plan || true + run: rm stage-cd.plan || true integration: timeout-minutes: 4320