From d912773821853c2bd8ed0fc92874cc9b8fec4997 Mon Sep 17 00:00:00 2001 From: Connor O'Kane Date: Fri, 28 Jun 2024 12:46:11 +0100 Subject: [PATCH] adding config + pipeline --- .github/workflows/pipeline.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4b09dc35b..1afce808d 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -25,12 +25,17 @@ jobs: with: client-id: ${{ secrets.AZURE_CLIENT_ID }} tenant-id: ${{ secrets.AZURE_TENANT_ID }} + client-secret: ${{ secrets.AZURE_CLIENT_SECRET }} subscription-id: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }} - name: Use Terraform uses: hashicorp/setup-terraform@v1 + - name: Change directory to Terraform config + run: cd components/lab + - name: Precheck Terraform + working-directory: components/lab env: AZURE_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }} run: | @@ -39,4 +44,3 @@ jobs: terraform plan \ -var="location=UK South" \ -var="override_action=plan" \ -