From 31f480b8fbe03116cff2ef87ea2abc2ee7bb153b Mon Sep 17 00:00:00 2001 From: Kev Jimenez Date: Mon, 5 Feb 2024 04:14:15 +0000 Subject: [PATCH] edited destroy --- .github/workflows/destroy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/destroy.yml b/.github/workflows/destroy.yml index acc8d3f..2991fb8 100644 --- a/.github/workflows/destroy.yml +++ b/.github/workflows/destroy.yml @@ -15,6 +15,9 @@ jobs: - name: Run ansible playbook for uninstallation run: ansible-playbook -i aws_ec2.yml destroyinf.yml + - name: Terraform init + run: terraform init + # 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 Destroy