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 | Default Value | Purpose |
|---|---|---|---|
AZURE_ENV_NAME |
string | macae |
Used as a prefix for all resource names to ensure uniqueness across environments. |
AZURE_LOCATION |
string | swedencentral |
Location of the Azure resources. Controls where the infrastructure will be deployed. |
AZURE_ENV_OPENAI_LOCATION |
string | swedencentral |
Specifies the region for OpenAI resource deployment. |
AZURE_ENV_MODEL_DEPLOYMENT_TYPE |
string | GlobalStandard |
Defines the deployment type for the AI model (e.g., Standard, GlobalStandard). |
AZURE_ENV_MODEL_NAME |
string | gpt-4o |
Specifies the name of the GPT model to be deployed. |
AZURE_ENV_FOUNDRY_PROJECT_ID |
string | <Existing Workspace Id> |
Set this if you want to reuse an AI Foundry Project instead of creating a new one. |
AZURE_ENV_MODEL_VERSION |
string | 2024-08-06 |
Version of the GPT model to be used for deployment. |
AZURE_ENV_MODEL_CAPACITY |
int | 150 |
Sets the GPT model capacity. |
AZURE_ENV_IMAGETAG |
string | latest |
Docker image tag used for container deployments. |
AZURE_ENV_ENABLE_TELEMETRY |
bool | true |
Enables telemetry for monitoring and diagnostics. |
AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID |
string | Guide to get your Existing Workspace ID | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
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_LOG_ANALYTICS_WORKSPACE_ID '/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.OperationalInsights/workspaces/<workspace-name>'Example:
azd env set AZURE_LOCATION westus2