From a99fc52eeb4f4cca57baa932584b7182e03f2462 Mon Sep 17 00:00:00 2001 From: Sujay Pillai Date: Thu, 12 Aug 2021 01:44:03 +0800 Subject: [PATCH] Amending changes from @TomChv Signed-off-by: Sujay Pillai --- stdlib/azure/azure.cue | 4 ++-- stdlib/azure/resourcegroup/rg.cue | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/stdlib/azure/azure.cue b/stdlib/azure/azure.cue index 53948ffd..b98bef5d 100644 --- a/stdlib/azure/azure.cue +++ b/stdlib/azure/azure.cue @@ -35,14 +35,14 @@ let defaultVersion = "2.27.1@sha256:1e117183100c9fce099ebdc189d73e506e7b02d2b73d image: docker.#Pull & { from: "mcr.microsoft.com/azure-cli:\(version)" } - + always: true command: """ az login --service-principal -u "$(cat /run/secrets/appId)" -p "$(cat /run/secrets/password)" -t "$(cat /run/secrets/tenantId)" az account set -s "$(cat /run/secrets/subscriptionId)" """ - + secret: { "/run/secrets/appId": config.appId "/run/secrets/password": config.password diff --git a/stdlib/azure/resourcegroup/rg.cue b/stdlib/azure/resourcegroup/rg.cue index b2645b0b..5f2e7215 100644 --- a/stdlib/azure/resourcegroup/rg.cue +++ b/stdlib/azure/resourcegroup/rg.cue @@ -33,7 +33,7 @@ import ( """ env: { - AZURE_DEFAULTS_GROUP: rgName + AZURE_DEFAULTS_GROUP: rgName AZURE_DEFAULTS_LOCATION: rgLocation } } @@ -41,8 +41,8 @@ import ( // Resource Id id: ({ os.#File & { - from: ctr - path: "/resourceGroupId" - } + from: ctr + path: "/resourceGroupId" + } }).contents }