From f979135961586b38a9d8f1d768de249297bd3731 Mon Sep 17 00:00:00 2001 From: Sujay Pillai Date: Thu, 12 Aug 2021 01:51:41 +0800 Subject: [PATCH] Amending changes from @TomChv Signed-off-by: Sujay Pillai --- docs/reference/universe/azure/README.md | 18 +++++---- .../reference/universe/azure/resourcegroup.md | 38 +++++++++++-------- 2 files changed, 33 insertions(+), 23 deletions(-) diff --git a/docs/reference/universe/azure/README.md b/docs/reference/universe/azure/README.md index 1f2e288d..fc887bbb 100644 --- a/docs/reference/universe/azure/README.md +++ b/docs/reference/universe/azure/README.md @@ -16,13 +16,17 @@ Azure Cli to be used by all Azure packages ### azure.#CLI Inputs -| Name | Type | Description | -| ------------- |:-------------: |:-------------: | -|*config.tenantId* | `dagger.#Secret` |AZURE tenant id | -|*config.subscriptionId* | `dagger.#Secret` |AZURE subscription id | -|*config.appId* | `dagger.#Secret` |AZURE app id for the service principal used | -|*config.password* | `dagger.#Secret` |AZURE password for the service principal used | -|*image.from* | `"mcr.microsoft.com/azure-cli"` |Remote ref (example: "index.docker.io/alpine:latest") | +| Name | Type | Description | +| ------------- |:-------------: |:-------------: | +|*config.tenantId* | `dagger.#Secret` |AZURE tenant id | +|*config.subscriptionId* | `dagger.#Secret` |AZURE subscription id | +|*config.appId* | `dagger.#Secret` |AZURE app id for the service principal used | +|*config.password* | `dagger.#Secret` |AZURE password for the service principal used | +|*image.from* | `"mcr.microsoft.com/azure-cli:2.27.1@sha256:1e117183100c9fce099ebdc189d73e506e7b02d2b73d767d3fc07caee72f9fb1"` |Remote ref (example: "index.docker.io/alpine:latest") | +|*secret."/run/secrets/appId"* | `dagger.#Secret` |- | +|*secret."/run/secrets/password"* | `dagger.#Secret` |- | +|*secret."/run/secrets/tenantId"* | `dagger.#Secret` |- | +|*secret."/run/secrets/subscriptionId"* | `dagger.#Secret` |- | ### azure.#CLI Outputs diff --git a/docs/reference/universe/azure/resourcegroup.md b/docs/reference/universe/azure/resourcegroup.md index 9de772be..d23a64c5 100644 --- a/docs/reference/universe/azure/resourcegroup.md +++ b/docs/reference/universe/azure/resourcegroup.md @@ -14,22 +14,28 @@ Create a resource group ### resourcegroup.#ResourceGroup Inputs -| Name | Type | Description | -| ------------- |:-------------: |:-------------: | -|*config.tenantId* | `dagger.#Secret` |AZURE tenant id | -|*config.subscriptionId* | `dagger.#Secret` |AZURE subscription id | -|*config.appId* | `dagger.#Secret` |AZURE app id for the service principal used | -|*config.password* | `dagger.#Secret` |AZURE password for the service principal used | -|*rgName* | `string` |ResourceGroup name | -|*rgLocation* | `string` |ResourceGroup location | -|*ctr.image.config.tenantId* | `dagger.#Secret` |AZURE tenant id | -|*ctr.image.config.subscriptionId* | `dagger.#Secret` |AZURE subscription id | -|*ctr.image.config.appId* | `dagger.#Secret` |AZURE app id for the service principal used | -|*ctr.image.config.password* | `dagger.#Secret` |AZURE password for the service principal used | -|*ctr.image.image.from* | `"mcr.microsoft.com/azure-cli"` |Remote ref (example: "index.docker.io/alpine:latest") | +| Name | Type | Description | +| ------------- |:-------------: |:-------------: | +|*config.tenantId* | `dagger.#Secret` |AZURE tenant id | +|*config.subscriptionId* | `dagger.#Secret` |AZURE subscription id | +|*config.appId* | `dagger.#Secret` |AZURE app id for the service principal used | +|*config.password* | `dagger.#Secret` |AZURE password for the service principal used | +|*rgName* | `string` |ResourceGroup name | +|*rgLocation* | `string` |ResourceGroup location | +|*ctr.image.config.tenantId* | `dagger.#Secret` |AZURE tenant id | +|*ctr.image.config.subscriptionId* | `dagger.#Secret` |AZURE subscription id | +|*ctr.image.config.appId* | `dagger.#Secret` |AZURE app id for the service principal used | +|*ctr.image.config.password* | `dagger.#Secret` |AZURE password for the service principal used | +|*ctr.image.image.from* | `"mcr.microsoft.com/azure-cli:2.27.1@sha256:1e117183100c9fce099ebdc189d73e506e7b02d2b73d767d3fc07caee72f9fb1"` |Remote ref (example: "index.docker.io/alpine:latest") | +|*ctr.image.secret."/run/secrets/appId"* | `dagger.#Secret` |- | +|*ctr.image.secret."/run/secrets/password"* | `dagger.#Secret` |- | +|*ctr.image.secret."/run/secrets/tenantId"* | `dagger.#Secret` |- | +|*ctr.image.secret."/run/secrets/subscriptionId"* | `dagger.#Secret` |- | +|*ctr.env.AZURE_DEFAULTS_GROUP* | `string` |- | +|*ctr.env.AZURE_DEFAULTS_LOCATION* | `string` |- | ### resourcegroup.#ResourceGroup Outputs -| Name | Type | Description | -| ------------- |:-------------: |:-------------: | -|*id* | `string` |Resource Id | +| Name | Type | Description | +| ------------- |:-------------: |:-------------: | +|*id* | `string` |ResourceGroup Id Resource Id |