From e67defe9b85ab558fbfb2203e0566cc99ddfd74a Mon Sep 17 00:00:00 2001 From: haiyanmeng Date: Tue, 1 Oct 2024 17:41:17 -0400 Subject: [PATCH] Set `config_sync.enabled` field to `true` to fix broken tests (#11880) --- .../resource_gke_hub_feature_membership_test.go.tmpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mmv1/third_party/terraform/services/gkehub/resource_gke_hub_feature_membership_test.go.tmpl b/mmv1/third_party/terraform/services/gkehub/resource_gke_hub_feature_membership_test.go.tmpl index b3f60174a717..b6be9477fbb1 100644 --- a/mmv1/third_party/terraform/services/gkehub/resource_gke_hub_feature_membership_test.go.tmpl +++ b/mmv1/third_party/terraform/services/gkehub/resource_gke_hub_feature_membership_test.go.tmpl @@ -108,6 +108,7 @@ resource "google_gke_hub_feature_membership" "feature_member_1" { configmanagement { version = "1.18.2" config_sync { + enabled = true source_format = "hierarchy" git { sync_repo = "https://github.com/GoogleCloudPlatform/magic-modules" @@ -125,6 +126,7 @@ resource "google_gke_hub_feature_membership" "feature_member_2" { configmanagement { version = "1.18.2" config_sync { + enabled = true source_format = "hierarchy" git { sync_repo = "https://github.com/terraform-providers/terraform-provider-google" @@ -176,6 +178,7 @@ resource "google_gke_hub_feature_membership" "feature_member_2" { configmanagement { version = "1.18.2" config_sync { + enabled = true source_format = "hierarchy" git { sync_repo = "https://github.com/terraform-providers/terraform-provider-google-beta" @@ -214,6 +217,7 @@ resource "google_gke_hub_feature_membership" "feature_member_2" { configmanagement { version = "1.18.2" config_sync { + enabled = true source_format = "unstructured" git { sync_repo = "https://github.com/terraform-providers/terraform-provider-google-beta" @@ -242,6 +246,7 @@ resource "google_gke_hub_feature_membership" "feature_member_3" { configmanagement { version = "1.18.2" config_sync { + enabled = true source_format = "hierarchy" git { sync_repo = "https://github.com/hashicorp/terraform" @@ -424,6 +429,7 @@ resource "google_gke_hub_feature_membership" "feature_member" { configmanagement { version = "1.18.2" config_sync { + enabled = true git { sync_repo = "https://github.com/hashicorp/terraform" https_proxy = "https://example.com" @@ -490,6 +496,7 @@ resource "google_gke_hub_feature_membership" "feature_member" { configmanagement { version = "1.18.2" config_sync { + enabled = true git { sync_repo = "https://github.com/hashicorp/terraform" https_proxy = "https://example.com" @@ -562,6 +569,7 @@ resource "google_gke_hub_feature_membership" "feature_member" { configmanagement { version = "1.18.2" config_sync { + enabled = true git { sync_repo = "https://github.com/hashicorp/terraform" secret_type = "none" @@ -651,6 +659,7 @@ resource "google_gke_hub_feature_membership" "feature_member" { configmanagement { version = "1.18.2" config_sync { + enabled = true source_format = "unstructured" oci { sync_repo = "us-central1-docker.pkg.dev/sample-project/config-repo/config-sync-gke:latest" @@ -700,6 +709,7 @@ resource "google_gke_hub_feature_membership" "feature_member" { configmanagement { version = "1.18.2" config_sync { + enabled = true source_format = "hierarchy" oci { sync_repo = "us-central1-docker.pkg.dev/sample-project/config-repo/config-sync-gke:latest"