From a771a081f2ed843c446b19dda87d3602071dabd3 Mon Sep 17 00:00:00 2001 From: Joseph Ligier Date: Mon, 25 Mar 2024 15:13:16 +0100 Subject: [PATCH] Test CICD --- .github/workflows/terraform.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 3b97a8e..169ca11 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -89,5 +89,7 @@ jobs: # On push to "main", build or change infrastructure according to Terraform configuration files # Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks - name: Terraform Apply - if: github.ref == 'refs/heads/"main"' && github.event_name == 'push' run: terraform apply -auto-approve -input=false + + - name: Terraform Destroy + run: terraform destroy -auto-approve -input=false