From 34a11f3379da49279f1980723b2897551f6a490f Mon Sep 17 00:00:00 2001 From: pengq-google Date: Fri, 3 Nov 2023 13:22:47 -0400 Subject: [PATCH] Deleted TestAccLoggingBucketConfigProject_locked test case, due to behavioral change of log buckets in project level. (#9373) Will add a comment linking the issue in a follow-up PR --- .../resource_logging_bucket_config_test.go | 36 ------------------- 1 file changed, 36 deletions(-) diff --git a/mmv1/third_party/terraform/services/logging/resource_logging_bucket_config_test.go b/mmv1/third_party/terraform/services/logging/resource_logging_bucket_config_test.go index 6291a5e164d2..b4556484a999 100644 --- a/mmv1/third_party/terraform/services/logging/resource_logging_bucket_config_test.go +++ b/mmv1/third_party/terraform/services/logging/resource_logging_bucket_config_test.go @@ -123,42 +123,6 @@ func TestAccLoggingBucketConfigProject_analyticsEnabled(t *testing.T) { }) } -func TestAccLoggingBucketConfigProject_locked(t *testing.T) { - t.Parallel() - - context := map[string]interface{}{ - "random_suffix": acctest.RandString(t, 10), - "project_name": "tf-test-" + acctest.RandString(t, 10), - "org_id": envvar.GetTestOrgFromEnv(t), - "billing_account": envvar.GetTestBillingAccountFromEnv(t), - } - - acctest.VcrTest(t, resource.TestCase{ - PreCheck: func() { acctest.AccTestPreCheck(t) }, - ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t), - Steps: []resource.TestStep{ - { - Config: testAccLoggingBucketConfigProject_locked(context, false), - }, - { - ResourceName: "google_logging_project_bucket_config.variable_locked", - ImportState: true, - ImportStateVerify: true, - ImportStateVerifyIgnore: []string{"project"}, - }, - { - Config: testAccLoggingBucketConfigProject_locked(context, true), - }, - { - ResourceName: "google_logging_project_bucket_config.variable_locked", - ImportState: true, - ImportStateVerify: true, - ImportStateVerifyIgnore: []string{"project"}, - }, - }, - }) -} - func TestAccLoggingBucketConfigProject_cmekSettings(t *testing.T) { t.Parallel()