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 }