From 7ef06a9879fbc525aa858354ca7ad934826749f4 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Wed, 19 Jan 2022 10:58:23 +0300 Subject: [PATCH] [Packer] Add info about build_resource_group_name option (#4900) * Add info about build_resource_group_name option * Update docs/create-image-and-azure-resources.md Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> --- docs/create-image-and-azure-resources.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/create-image-and-azure-resources.md b/docs/create-image-and-azure-resources.md index 21ba92d8..ae25ed00 100644 --- a/docs/create-image-and-azure-resources.md +++ b/docs/create-image-and-azure-resources.md @@ -101,6 +101,7 @@ The function creates an Azure VM from a template and generates network resources ### User variables The Packer template includes `variables` section containing user variables used in image generation. Each variable is defined as a key/value strings. User variables can be passed to packer via predefined environment variables, or as direct arguments, in case if packer started manually. +- `build_resource_group_name` - Specify an existing resource group to run the build in it. By default, a temporary resource group will be created and destroyed as part of the build. If you do not have permission to do so, use build_resource_group_name to specify an existing resource group to run the build in it. - `client_id` - The application ID of the AAD Service Principal. Requires `client_secret`. - `object_id` - The object ID for the AAD SP. Will be derived from the oAuth token if empty. - `client_secret` - A password/secret registered for the AAD SP.