diff --git a/apply-terraform.yml b/apply-terraform.yml index adbd5a4d..c979c446 100644 --- a/apply-terraform.yml +++ b/apply-terraform.yml @@ -35,7 +35,11 @@ stages: scriptType: "bash" scriptLocation: "inlineScript" inlineScript: | - az aks get-credentials --name $(aks-name) --resource-group $(aks-resource-group) --admin --file ~/.kube/config + az aks get-credentials \ + --name $(aks-name) \ + --resource-group $(aks-resource-group) \ + --admin \ + --file ~/.kube/config echo "AKS credentials configured for kubectl" - task: DownloadSecureFile@1 @@ -97,7 +101,11 @@ stages: scriptType: "bash" scriptLocation: "inlineScript" inlineScript: | - az aks get-credentials --name $(aks-name) --resource-group $(aks-resource-group) --admin --file ~/.kube/config + az aks get-credentials \ + --name $(aks-name) \ + --resource-group $(aks-resource-group) \ + --admin \ + --file ~/.kube/config echo "AKS credentials configured for kubectl" - task: DownloadSecureFile@1