From 5d2ffeb2cb5b149d65a9387d53e240bb70e44129 Mon Sep 17 00:00:00 2001 From: jiawei Date: Fri, 15 Dec 2023 03:57:32 +0000 Subject: [PATCH] update test ext --- .../extended_location_custom_locations_test.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/internal/services/extendedlocation/extended_location_custom_locations_test.go b/internal/services/extendedlocation/extended_location_custom_locations_test.go index 9c02bd1b5508..08475ec4dfd8 100644 --- a/internal/services/extendedlocation/extended_location_custom_locations_test.go +++ b/internal/services/extendedlocation/extended_location_custom_locations_test.go @@ -190,14 +190,12 @@ resource "azurerm_arc_kubernetes_cluster" "test" { resource "azurerm_arc_kubernetes_cluster_extension" "test" { name = "acctest-kce-%[1]d" cluster_id = azurerm_arc_kubernetes_cluster.test.id - extension_type = "Microsoft.Web.Appservice" - - configuration_protected_settings = { - "omsagent.secret.key" = "secretKeyValue2" - } + extension_type = "microsoft.contoso.clusters" + target_namespace = "tf-ns4" + version = "1.2.0" configuration_settings = { - "omsagent.env.clusterName" = "clusterName2" + "Microsoft.CustomLocation.ServiceAccount" = "tf-operator" } identity {