diff --git a/.github/workflows/IntegrationTesting.yaml b/.github/workflows/IntegrationTesting.yaml index 31ef5651..933f534e 100644 --- a/.github/workflows/IntegrationTesting.yaml +++ b/.github/workflows/IntegrationTesting.yaml @@ -140,7 +140,7 @@ jobs: cleanup: name: Resource tear down needs: test_WebApp - if: true + if: always() runs-on: ubuntu-latest steps: @@ -163,7 +163,7 @@ jobs: run: terraform init - name: set permissions to terraform plugins - run: chmod -R a+x .terraform/plugins/registry.terraform.io/hashicorp/aws/3.5.0/linux_amd64/* + run: chmod -R a+x .terraform/* - name: Destroy resources run: terraform destroy -state="terraform.tfstate" -var-file="fixtures.us-west-2.tfvars" -auto-approve