Skip to content

Commit

Permalink
Update main.tf to conditionally enable OpenAI plugin deployments for …
Browse files Browse the repository at this point in the history
…call transcript and compare financial products
  • Loading branch information
rliberoff authored and cmendible committed May 27, 2024
1 parent 6821a7e commit 49a0efa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 49a0efa

Please sign in to comment.