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 runningazd up. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-20 characters alphanumeric unique name.
| Name | Type | Example Value | Purpose |
|---|---|---|---|
AZURE_ENV_NAME |
string | cps |
Sets the environment name prefix for all Azure resources. |
AZURE_LOCATION |
string | eastus2 |
Sets the primary Azure region for resource deployment (allowed values: australiaeast, centralus, eastasia, eastus2, japaneast, northeurope, southeastasia, uksouth). |
AZURE_ENV_AI_DEPLOYMENTS_LOCATION |
string | eastus2 |
Sets the location for the Azure AI Services deployment (allowed values: australiaeast, eastus, eastus2, francecentral, japaneast, swedencentral, uksouth, westus, westus3). |
AZURE_ENV_CU_LOCATION |
string | WestUS |
Sets the location for the Azure Content Understanding service (allowed values: WestUS, SwedenCentral, AustraliaEast). |
AZURE_ENV_MODEL_DEPLOYMENT_TYPE |
string | GlobalStandard |
Defines the model deployment type (allowed values: Standard, GlobalStandard). |
AZURE_ENV_MODEL_NAME |
string | gpt-4o |
Specifies the GPT model name (allowed values: gpt-4o). |
AZURE_ENV_MODEL_VERSION |
string | 2024-08-06 |
Specifies the GPT model version (allowed values: 2024-08-06). |
AZURE_ENV_MODEL_CAPACITY |
integer | 30 |
Sets the model capacity (choose based on your subscription's available GPT capacity). |
AZURE_ENV_CONTAINER_REGISTRY_ENDPOINT |
string | cpscontainerreg.azurecr.io |
Sets the Azure Container Registry endpoint (allowed value: cpscontainerreg.azurecr.io). |
AZURE_ENV_CONTAINER_IMAGE_TAG |
string | latest |
Sets the container image tag (e.g., latest, dev, hotfix). |
AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID |
string | Guide to get your Existing Workspace ID | Reuses an existing Log Analytics Workspace instead of provisioning a new one. |
AZURE_ENV_FOUNDRY_PROJECT_ID |
string | <Existing AI Project resource Id> |
Reuses an existing AI Foundry and AI Foundry Project instead of creating a new one. |
The following parameters are only used when deploying with WAF-aligned configuration (main.waf.parameters.json):
| Name | Type | Example Value | Purpose |
|---|---|---|---|
AZURE_ENV_VM_SIZE |
string | Standard_DS2_v2 |
Sets the size of the Jumpbox Virtual Machine. |
AZURE_ENV_VM_ADMIN_USERNAME |
string | JumpboxAdminUser |
Sets the admin username for the Jumpbox Virtual Machine. |
AZURE_ENV_VM_ADMIN_PASSWORD |
string | (secure) | Sets the admin password for the Jumpbox Virtual Machine. |
To customize any of the above values, run the following command before azd up:
azd env set <PARAMETER_NAME> <VALUE>Example:
azd env set AZURE_LOCATION westus2