diff --git a/infrastructure/terraform/ai.tf b/infrastructure/terraform/ai.tf index c69ae884..bc55a94b 100644 --- a/infrastructure/terraform/ai.tf +++ b/infrastructure/terraform/ai.tf @@ -13,6 +13,20 @@ module "open_ai" { cognitive_service_deployments = var.cognitive_service_deployments } +module "ai_speech" { + source = "./modules/aoai" + + location = local.location + resource_group_name = azurerm_resource_group.ai.name + tags = var.tags + cognitive_service_name = local.speech_ai_name + cognitive_service_kind = "SpeechServices" + cognitive_service_sku = "S0" + log_analytics_workspace_id = module.azure_log_analytics.log_analytics_id + subnet_id = var.subnet_id + customer_managed_key = null +} + module "videoindexer" { source = "./modules/videoindexer" diff --git a/infrastructure/terraform/locals.tf b/infrastructure/terraform/locals.tf index 2a885dc9..4e7dfc40 100644 --- a/infrastructure/terraform/locals.tf +++ b/infrastructure/terraform/locals.tf @@ -14,6 +14,7 @@ locals { ai_rg = "${local.prefix}-ai" videoindexer_name = "${local.prefix}-vi" open_ai_name = "${local.prefix}-aoai" + speech_ai_name = "${local.prefix}-speech" search_service_name = lower(replace("${local.prefix}-search", "/[^a-z0-9]/", "")) docintel_service_name = "${local.prefix}-docintel"