From 7b0b640e9c7d2e566b579a699e917bf3bc698701 Mon Sep 17 00:00:00 2001 From: Benjamin Chiverton Date: Tue, 2 Jul 2024 10:08:14 +0100 Subject: [PATCH] Update instance-destroy-test.yml (#75) --- .github/workflows/instance-destroy-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/instance-destroy-test.yml b/.github/workflows/instance-destroy-test.yml index d8c04f0..deb50ce 100644 --- a/.github/workflows/instance-destroy-test.yml +++ b/.github/workflows/instance-destroy-test.yml @@ -23,6 +23,10 @@ jobs: uses: hashicorp/setup-terraform@v2 with: terraform_wrapper: false + - name: Login via Azure CLI + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Terraform Init run: terraform -chdir=instance init -backend-config="container_name=onlinestoretfstate-test" -backend-config="key=terraform.tfstate.${{ github.head_ref }}" - name: Terraform Destroy