From e0a698fbf0f6df4266dbcff5d9cda0170a188de4 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 23 Jan 2024 15:05:59 -0800 Subject: [PATCH] rename google_gke_hub_feature policycontroller examples (#9845) (#6896) [upstream:6a107d87f1b0107ac7dbd044a3434e3ebd784590] Signed-off-by: Modular Magician --- .changelog/9845.txt | 3 +++ .../services/gkehub2/resource_gke_hub_feature_test.go | 8 ++++---- website/docs/r/gke_hub_feature.html.markdown | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .changelog/9845.txt diff --git a/.changelog/9845.txt b/.changelog/9845.txt new file mode 100644 index 0000000000..8ec013c069 --- /dev/null +++ b/.changelog/9845.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google-beta/services/gkehub2/resource_gke_hub_feature_test.go b/google-beta/services/gkehub2/resource_gke_hub_feature_test.go index 3f75a2e47e..ecd936a8f4 100644 --- a/google-beta/services/gkehub2/resource_gke_hub_feature_test.go +++ b/google-beta/services/gkehub2/resource_gke_hub_feature_test.go @@ -645,7 +645,7 @@ func TestAccGKEHubFeature_FleetDefaultMemberConfigPolicyController(t *testing.T) ImportStateVerifyIgnore: []string{"project", "update_time"}, }, { - Config: testAccGKEHubFeature_FleetDefaultMemberConfigPolicyControllerUpdate(context), + Config: testAccGKEHubFeature_FleetDefaultMemberConfigPolicyControllerFull(context), }, { ResourceName: "google_gke_hub_feature.feature", @@ -653,7 +653,7 @@ func TestAccGKEHubFeature_FleetDefaultMemberConfigPolicyController(t *testing.T) ImportStateVerify: true, }, { - Config: testAccGKEHubFeature_FleetDefaultMemberConfigPolicyControllerUpdateSetEmpty(context), + Config: testAccGKEHubFeature_FleetDefaultMemberConfigPolicyControllerMinimal(context), }, { ResourceName: "google_gke_hub_feature.feature", @@ -691,7 +691,7 @@ resource "google_gke_hub_feature" "feature" { `, context) } -func testAccGKEHubFeature_FleetDefaultMemberConfigPolicyControllerUpdate(context map[string]interface{}) string { +func testAccGKEHubFeature_FleetDefaultMemberConfigPolicyControllerFull(context map[string]interface{}) string { return gkeHubFeatureProjectSetupForGA(context) + acctest.Nprintf(` resource "google_gke_hub_feature" "feature" { name = "policycontroller" @@ -755,7 +755,7 @@ resource "google_gke_hub_feature" "feature" { `, context) } -func testAccGKEHubFeature_FleetDefaultMemberConfigPolicyControllerUpdateSetEmpty(context map[string]interface{}) string { +func testAccGKEHubFeature_FleetDefaultMemberConfigPolicyControllerMinimal(context map[string]interface{}) string { return gkeHubFeatureProjectSetupForGA(context) + acctest.Nprintf(` resource "google_gke_hub_feature" "feature" { name = "policycontroller" diff --git a/website/docs/r/gke_hub_feature.html.markdown b/website/docs/r/gke_hub_feature.html.markdown index 75f26f6a13..bfc768505b 100644 --- a/website/docs/r/gke_hub_feature.html.markdown +++ b/website/docs/r/gke_hub_feature.html.markdown @@ -196,7 +196,7 @@ resource "google_gke_hub_feature" "feature" { } } ``` -## Example Usage - Enable Fleet Default Member Config Policycontroller Update +## Example Usage - Enable Fleet Default Member Config Policycontroller Full ```hcl @@ -258,7 +258,7 @@ resource "google_gke_hub_feature" "feature" { } } ``` -## Example Usage - Enable Fleet Default Member Config Policycontroller Set Empty +## Example Usage - Enable Fleet Default Member Config Policycontroller Minimal ```hcl