From 3f9e38e15fb0841fd8fce4c681d97f95ca162a93 Mon Sep 17 00:00:00 2001 From: Guillaume Chervet Date: Mon, 28 Oct 2024 16:41:52 +0100 Subject: [PATCH] feat(deploy): test deployment to kubernetes azure --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b81137a..a81c504 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,19 +83,19 @@ jobs: - name: Terraform Init env: - ARM_SUBSCRIPTION_ID: ${{ secrets.SUBSCRIPTION_ID }} + ARM_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }} run: terraform init working-directory: deploy/terraform - name: Terraform Apply env: - TF_VAR_subscription_id: ${{ secrets.subscription_id }} + TF_VAR_subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} run: terraform apply -auto-approve working-directory: deploy/terraform - name: Setup kubectl env: - AZURE_SUBSCRIPTION_ID: ${{ secrets.SUBSCRIPTION_ID }} + AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }} run: | az aks get-credentials --resource-group ""aks-resource-group" --name "aks-cluster"