From 3fc2b2ed6838da849553b42dbf4bc3ae6b27fb40 Mon Sep 17 00:00:00 2001 From: joelwebb1991 <56155374+joelwebb1991@users.noreply.github.com> Date: Fri, 27 Feb 2026 12:04:48 +0000 Subject: [PATCH] Change hostingMode value to 'Default' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ╷ │ Error: Invalid configuration │ │ with azapi_resource.ai_search, │ on main.tf line 130, in resource "azapi_resource" "ai_search": │ 130: resource "azapi_resource" "ai_search" { │ │ embedded schema validation failed: the argument "body" is invalid: │ `properties.hostingMode`'s value `default` is invalid. The supported values are [Default, HighDensity]. Do you mean │ `Default`? │ You can try to update `azapi` provider to the latest version or disable the validation using the feature flag `schema_validation_enabled = false` within the resource block ╵ --- .../15a-private-network-standard-agent-setup/code/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/infrastructure-setup-terraform/15a-private-network-standard-agent-setup/code/main.tf b/infrastructure/infrastructure-setup-terraform/15a-private-network-standard-agent-setup/code/main.tf index 50f45db9d..ba1f281b7 100644 --- a/infrastructure/infrastructure-setup-terraform/15a-private-network-standard-agent-setup/code/main.tf +++ b/infrastructure/infrastructure-setup-terraform/15a-private-network-standard-agent-setup/code/main.tf @@ -148,7 +148,7 @@ resource "azapi_resource" "ai_search" { # Search-specific properties replicaCount = 1 partitionCount = 1 - hostingMode = "default" + hostingMode = "Default" semanticSearch = "disabled" # Identity-related controls