scenarios/workload-genai/terraform/modules/openai/variables.tf (60 lines of code) (raw):

variable "resource_group_name" { description = "(Required) Specifies the resource group name" type = string } variable "location" { description = "(Required) Specifies the location of the Azure OpenAI Service" type = string } variable "name" { description = "(Required) Specifies the name of the Azure OpenAI Service" type = string } variable "sku_name" { description = "(Optional) Specifies the sku name for the Azure OpenAI Service" type = string default = "S0" } variable "tags" { description = "(Optional) Specifies the tags of the Azure OpenAI Service" type = map(any) default = {} } variable "custom_subdomain_name" { description = "(Optional) Specifies the custom subdomain name of the Azure OpenAI Service" type = string } variable "public_network_access_enabled" { description = "(Optional) Specifies whether public network access is allowed for the Azure OpenAI Service" type = bool default = false } variable "deployments" { description = "(Optional) Specifies the deployments of the Azure OpenAI Service" type = list(object({ name = string model = object({ name = string version = string }) rai_policy_name = string })) default = [ { name = "gpt-35-turbo" model = { name = "gpt-35-turbo" version = "0301" } rai_policy_name = "" } ] } variable "apimIdentityName" { description = "The name of the API Management Identity" type = string } variable "apimResourceGroupName" { description = "The name of the resource group for the API Management Identity" type = string }