From 3b5edf27fa1cef1e5657848fef31c0735632f84e Mon Sep 17 00:00:00 2001 From: Benjamin Chiverton Date: Tue, 2 Jul 2024 09:58:54 +0100 Subject: [PATCH] Update instance-destroy-test.yml --- .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