From 49a0efa222d1f08c685347a794a439f03801c71b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Liberoff=20V=C3=A1zquez?= Date: Mon, 27 May 2024 09:48:57 +0000 Subject: [PATCH] Update main.tf to conditionally enable OpenAI plugin deployments for call transcript and compare financial products --- infra/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/main.tf b/infra/main.tf index b5ed652..40c4b93 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -237,6 +237,7 @@ module "ca_aihub" { } module "plugin" { + count = var.enable_openai_plugin_call_transcript ? 1 : 0 source = "./modules/ca-plugin" location = azurerm_resource_group.rg.location resource_group_name = azurerm_resource_group.rg.name @@ -252,6 +253,7 @@ module "plugin" { } module "plugin-fsi" { + count = var.enable_openai_plugin_compare_financial_products ? 1 : 0 source = "./modules/ca-plugin-fsi" location = azurerm_resource_group.rg.location resource_group_name = azurerm_resource_group.rg.name