Skip to content

Commit

Permalink
Allow AI Search to be created in Load-Test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
albal committed Jan 11, 2024
1 parent a904cd7 commit 5e01333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Terraform/ai-search.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
locals {
with_basic_aisearch_count = can(regex("^Prod|Load", terraform.workspace)) ? 1 : 0
with_basic_aisearch_bool = can(regex("^Prod|Load", terraform.workspace)) ? true : false
create_aisearch_count = can(regex("^Test|Prod", terraform.workspace)) ? 1 : 0
create_aisearch_count = can(regex("^Test|Prod|Load", terraform.workspace)) ? 1 : 0
}

resource "azurerm_search_service" "ai-search" {
Expand Down

0 comments on commit 5e01333

Please sign in to comment.