From d4113fc9b4776788235c9ea7eba029370659a5f1 Mon Sep 17 00:00:00 2001 From: Rudra Gupta Date: Wed, 25 Sep 2024 23:46:03 -0400 Subject: [PATCH] feat: update tf modules Signed-off-by: Rudra Gupta --- .github/workflows/check-compliance.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-compliance.yml b/.github/workflows/check-compliance.yml index 19a6043..b9ea658 100644 --- a/.github/workflows/check-compliance.yml +++ b/.github/workflows/check-compliance.yml @@ -105,6 +105,11 @@ jobs: working-directory: examples/basic # On push to "master", build or change infrastructure according to Terraform configuration files - # - name: Terraform Apply - # if: github.ref == 'refs/heads/"master"' && github.event_name == 'push' - # run: terraform apply -auto-approve -input=false \ No newline at end of file + - name: Terraform Apply + # if: github.ref == 'refs/heads/"main"' && github.event_name == 'push' + run: terraform apply -auto-approve -input=false + working-directory: examples/basic + + - name: Terraform Destroy + run: terraform destroy -auto-approve -input=false + working-directory: examples/basic