|
Variable
|
Description
|
|---|---|
|
subscription_id
|
Azure subscription where resources will be deployed.
|
|
tenant_id
|
Azure AD tenant ID.
|
|
location
|
Azure region, for example, eastus2.
|
|
resource_group_name
|
Resource group name, maximum 20 characters, letters, numbers, hyphens only.
|
|
aks_admin_group_object_ids
|
Azure AD (Entra ID) group object IDs for AKS admin access.
|
|
kubernetes_version
|
AKS Kubernetes version , for example, 1.34.
|
|
environment
|
Deployment environment name. It must be unique per environment.
|
|
openai_gpt5_mini_capacity
|
Throughput capacity for GPT-5 Mini.
|
|
openai_gpt5_nano_capacity
|
Throughput capacity for GPT-5 Nano.
|
|
openai_text_embedding_capacity
|
Throughput capacity for the text embedding model
|
|
flow_log_storage_resource_group
|
Resource group for the flow logs storage account.
|
|
flow_log_storage_account_name
|
Storage account for flow logs.
|
|
allowed_ips
|
CIDR ranges allowed to access the AKS subnet.
|
|
aks_api_server_authorized_ip_ranges
|
List of IP ranges allowed to access the AKS API server (control plane).
|
|
vector_database_username
|
Username of the Vector database.
|
|
vector_database_password
|
Password of the Vector database.
|
|
vector_database_owner_object_id
|
Owner entity’s ID of the Vector database.
|
|
vector_database_owner_principal_name
|
Owner entity’s name of the Vector database.
|
|
vector_database_owner_principal_type
|
Owner entity’s type of the Vector database.
|
|
|
For the owner for Vector Database, you can use the Azure AD User Group created in the prerequisites. This group handles access control for AKS and ACR. Its ID and name can be used, with Group type. For example:
vector_database_owner_object_id = "<id-of-the-ad-user-group>" |
|
Variable
|
Description
|
|---|---|
|
aks_host_encryption_enabled
|
Enable AKS host encryption. Set to false if unsupported.
|
|
aks_user_pool_vm_size
|
VM size for the AKS user node pool.
|
|
aks_user_pool_min_count
|
Minimum nodes in the user pool.
|
|
aks_user_pool_max_count
|
Maximum nodes for auto-scaling.
|
|
aks_system_pool_vm_size
|
VM size for the system node pool.
|
|
aks_system_pool_min_count
|
Minimum nodes in the system pool.
|
|
aks_system_pool_max_count
|
Maximum nodes in system pool.
|
|
openai_gpt5_mini_sku_name
|
SKU for GPT-5.4 Mini. For example, DataZoneStandard, GlobalStandard, PTU SKUs.
|
|
openai_gpt5_nano_sku_name
|
SKU for GPT-5.4 Nano.
|
|
openai_text_embedding_sku_name
|
SKU for the text embedding model.
|
|
openai_gpt5_mini_spillover_sku_name
|
Spillover SKU for GPT-5 Mini. This is used only with PTU.
|
|
openai_gpt5_mini_spillover_capacity
|
Spillover capacity for GPT-5 Mini.
|
|
openai_gpt5_nano_spillover_sku_name
|
Spillover SKU for GPT-5 Nano.
|
|
openai_gpt5_nano_spillover_capacity
|
Spillover capacity for GPT-5 Nano.
|
|
openai_text_embedding_model_name
|
The model to use for text embedding. Its default value is text-embedding-3-small.
|
|
openai_text_embedding_sku_name
|
Spillover SKU for the text embedding model.
|
|
openai_text_embedding_spillover_capacity
|
Spillover capacity for the text embedding model.
|
|
flow_log_retention_days
|
Retention period for flow logs.
|
|
vector_database_server_name
|
Name of the vector database server.
|
|
vector_database_name
|
Name of the vector database.
|
|
|
The available SKU options depend on the Azure region that is being used.
For more details, see official Azure documentation Region availability for Foundry Models sold by Azure - Microsoft Foundry | Microsoft Learn.
|
subscription_id = "<subscription-id>"
tenant_id = "<tenant-id>"
location = "<region>"
resource_group_name = "<resource_group_name>"
aks_admin_group_object_ids = ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]
kubernetes_version = "1.34"
environment = "development"
aks_user_pool_vm_size = "Standard_D8as_v5"
aks_user_pool_min_count = 3
aks_user_pool_max_count = 6
aks_system_pool_vm_size = "Standard_D2s_v5"
aks_system_pool_min_count = 2
aks_system_pool_max_count = 3
openai_gpt5_mini_sku_name = "DataZoneStandard"
openai_gpt5_nano_sku_name = "DataZoneStandard"
openai_text_embedding_sku_name = "DataZoneStandard"
openai_gpt5_mini_capacity = 10000
openai_gpt5_nano_capacity = 10000
openai_text_embedding_capacity = 10000
flow_log_storage_resource_group = "my-storage-rg"
flow_log_storage_account_name = "myflowlogsaccount"
flow_log_retention_days = 90
allowed_ips = ["1.2.3.4/32"]
aks_api_server_authorized_ip_ranges = ["1.2.3.4/32"]
vector_database_username = "chdvectoruser"
vector_database_password = "verysecurepassword123"
vector_database_owner_object_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
vector_database_owner_principal_name = "cb-ai-deployers-chd-12"
vector_database_owner_principal_type = "Group"
resource_group_name = "<resource_group_name>"
storage_account_name = "<storage_account_name>"
container_name = "<container_name>"
key = "<terraform.tfstate>"
|
|
Skip this section if enable_app_registration is set to true in infra.tfvars. In this case, Terraform creates the application registration and the client_id and audience values and are available in the Terraform output.
|
|
Field
|
Where to find
|
Example
|
|---|---|---|
|
client_id
|
> >
|
12345678-abcd-efgh-ijkl-123456789012
|
|
audience
|
> >
|
api://12345678-abcd-efgh-ijkl-123456789012
|