diff --git a/.web-docs/components/builder/arm/README.md b/.web-docs/components/builder/arm/README.md index 4ea3f1f3..91272d53 100644 --- a/.web-docs/components/builder/arm/README.md +++ b/.web-docs/components/builder/arm/README.md @@ -607,7 +607,7 @@ Providing `temp_resource_group_name` or `location` in combination with Value in GitHub Actions can be extracted from the `ACTIONS_ID_TOKEN_REQUEST_TOKEN` variable - `oidc_request_url` (string) - OIDC Request URL is used for GitHub Actions OIDC, this token is used with oidc_request_url to fetch access tokens to Azure - Value in GitHub Actions can be extracted from the `ARM_OIDC_REQUEST_URL` variable + Value in GitHub Actions can be extracted from the `ACTIONS_ID_TOKEN_REQUEST_URL` variable - `use_azure_cli_auth` (bool) - Flag to use Azure CLI authentication. Defaults to false. CLI auth will use the information from an active `az login` session to connect to Azure and set the subscription id and tenant id associated to the signed in account. diff --git a/.web-docs/components/builder/chroot/README.md b/.web-docs/components/builder/chroot/README.md index 4c904640..72277052 100644 --- a/.web-docs/components/builder/chroot/README.md +++ b/.web-docs/components/builder/chroot/README.md @@ -87,7 +87,7 @@ information. Value in GitHub Actions can be extracted from the `ACTIONS_ID_TOKEN_REQUEST_TOKEN` variable - `oidc_request_url` (string) - OIDC Request URL is used for GitHub Actions OIDC, this token is used with oidc_request_url to fetch access tokens to Azure - Value in GitHub Actions can be extracted from the `ARM_OIDC_REQUEST_URL` variable + Value in GitHub Actions can be extracted from the `ACTIONS_ID_TOKEN_REQUEST_URL` variable - `use_azure_cli_auth` (bool) - Flag to use Azure CLI authentication. Defaults to false. CLI auth will use the information from an active `az login` session to connect to Azure and set the subscription id and tenant id associated to the signed in account. diff --git a/builder/azure/common/client/config.go b/builder/azure/common/client/config.go index fb3ddf43..1198e2f8 100644 --- a/builder/azure/common/client/config.go +++ b/builder/azure/common/client/config.go @@ -80,7 +80,7 @@ type Config struct { // Value in GitHub Actions can be extracted from the `ACTIONS_ID_TOKEN_REQUEST_TOKEN` variable OidcRequestToken string `mapstructure:"oidc_request_token"` // OIDC Request URL is used for GitHub Actions OIDC, this token is used with oidc_request_url to fetch access tokens to Azure - // Value in GitHub Actions can be extracted from the `ARM_OIDC_REQUEST_URL` variable + // Value in GitHub Actions can be extracted from the `ACTIONS_ID_TOKEN_REQUEST_URL` variable OidcRequestURL string `mapstructure:"oidc_request_url"` authType string diff --git a/docs-partials/builder/azure/common/client/Config-not-required.mdx b/docs-partials/builder/azure/common/client/Config-not-required.mdx index 5aaf4046..5ffe13b7 100644 --- a/docs-partials/builder/azure/common/client/Config-not-required.mdx +++ b/docs-partials/builder/azure/common/client/Config-not-required.mdx @@ -37,7 +37,7 @@ Value in GitHub Actions can be extracted from the `ACTIONS_ID_TOKEN_REQUEST_TOKEN` variable - `oidc_request_url` (string) - OIDC Request URL is used for GitHub Actions OIDC, this token is used with oidc_request_url to fetch access tokens to Azure - Value in GitHub Actions can be extracted from the `ARM_OIDC_REQUEST_URL` variable + Value in GitHub Actions can be extracted from the `ACTIONS_ID_TOKEN_REQUEST_URL` variable - `use_azure_cli_auth` (bool) - Flag to use Azure CLI authentication. Defaults to false. CLI auth will use the information from an active `az login` session to connect to Azure and set the subscription id and tenant id associated to the signed in account. diff --git a/example/github-oidc-example.pkr.hcl b/example/github-oidc-example.pkr.hcl index 23a653bd..f413b189 100644 --- a/example/github-oidc-example.pkr.hcl +++ b/example/github-oidc-example.pkr.hcl @@ -45,5 +45,4 @@ source "azure-arm" "autogenerated_1" { build { sources = ["source.azure-arm.autogenerated_1"] - provisioner "powershell" { inline = ["Start-Sleep -Seconds 7200"]} }