CustomizingAzdParameters.md

July 21, 2026 ยท View on GitHub

[Optional]: Customizing resource names

By default this template will use the environment name as the prefix to prevent naming collisions within Azure. The parameters below show the default values. You only need to run the statements below if you need to change the values.

To override any of the parameters, run azd env set <PARAMETER_NAME> <VALUE> before running azd up. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-16 characters alphanumeric unique name.

Parameters

NameTypeDefault ValuePurpose
AZURE_ENV_DEPLOYMENT_FLAVORstringbicepUsed for different deployment flavor, accepted values bicep, avm, avm-waf
AZURE_ENV_NAMEstringmacaeUsed as a prefix for all resource names to ensure uniqueness across environments.
AZURE_LOCATIONstring<User selects during deployment>Location of the Azure resources. Controls where the infrastructure will be deployed.
AZURE_ENV_AI_SERVICE_LOCATIONstring<User selects during deployment>Specifies the region for OpenAI resource deployment.
AZURE_ENV_MODEL_DEPLOYMENT_TYPEstringGlobalStandardDefines the deployment type for the AI model (e.g., Standard, GlobalStandard).
AZURE_ENV_GPT_MODEL_NAMEstringgpt-5.4-miniSpecifies the name of the GPT model to be deployed.
AZURE_ENV_GPT_MODEL_VERSIONstring2026-03-17Version of the GPT model to be used for deployment.
AZURE_ENV_GPT_MODEL_CAPACITYint100Sets the GPT model capacity.
AZURE_ENV_MODEL_5_4_DEPLOYMENT_TYPEstringGlobalStandardDefines the deployment type for the AI model (e.g., Standard, GlobalStandard).
AZURE_ENV_MODEL_5_4_NAMEstringgpt-5.4Specifies the name of the GPT model to be deployed.
AZURE_ENV_MODEL_5_4_VERSIONstring2026-03-05Version of the GPT model to be used for deployment.
AZURE_ENV_MODEL_5_4_CAPACITYint150Sets the GPT model capacity.
AZURE_ENV_ENABLE_TELEMETRYbooltrueEnables telemetry for monitoring and diagnostics.
AZURE_EXISTING_AIPROJECT_RESOURCE_IDstring<Existing Workspace Id>Set this if you want to reuse an AI Foundry Project instead of creating a new one.
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RIDstringGuide to get your Existing Workspace IDSet this if you want to reuse an existing Log Analytics Workspace instead of creating a new one.
AZURE_ENV_VM_ADMIN_USERNAMEstringtake(newGuid(), 20)The administrator username for the virtual machine.
AZURE_ENV_VM_ADMIN_PASSWORDstringnewGuid()The administrator password for the virtual machine.
AZURE_ENV_VM_SIZEstringStandard_D2s_v5The size of the virtual machine deployed with private networking.
AZURE_ENV_CONTAINER_REGISTRY_ENDPOINTstring<Container Registry Endpoint>Sets container registry used by backend, frontend and Mcp containers.

How to Set a Parameter

To customize any of the above values, run the following command before azd up:

azd env set <PARAMETER_NAME> <VALUE>

Set the Log Analytics Workspace Id if you need to reuse the existing workspace which is already existing

azd env set AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID '/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.OperationalInsights/workspaces/<workspace-name>'

Example:

azd env set AZURE_LOCATION westus2