From 7027630857883a5fdfd1767b74151ce23fe2fcd5 Mon Sep 17 00:00:00 2001 From: Vijaykanth Melugiri Date: Thu, 25 Jul 2024 05:48:16 +0000 Subject: [PATCH] Add flag to ignore project property --- mmv1/products/securitycenterv2/ProjectNotificationConfig.yaml | 1 + .../resource_scc_v2_project_notification_config_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mmv1/products/securitycenterv2/ProjectNotificationConfig.yaml b/mmv1/products/securitycenterv2/ProjectNotificationConfig.yaml index f300f446a255..88bb850938d8 100644 --- a/mmv1/products/securitycenterv2/ProjectNotificationConfig.yaml +++ b/mmv1/products/securitycenterv2/ProjectNotificationConfig.yaml @@ -43,6 +43,7 @@ examples: project: :PROJECT_NAME ignore_read_extra: - 'location' + - 'project' custom_code: !ruby/object:Provider::Terraform::CustomCode custom_import: templates/terraform/custom_import/scc_source_self_link_as_name_set_organization.go.erb post_create: templates/terraform/post_create/set_computed_name.erb diff --git a/mmv1/third_party/terraform/services/securitycenterv2/resource_scc_v2_project_notification_config_test.go b/mmv1/third_party/terraform/services/securitycenterv2/resource_scc_v2_project_notification_config_test.go index 4bdd84ebfe94..fcfd0d53acb1 100644 --- a/mmv1/third_party/terraform/services/securitycenterv2/resource_scc_v2_project_notification_config_test.go +++ b/mmv1/third_party/terraform/services/securitycenterv2/resource_scc_v2_project_notification_config_test.go @@ -19,7 +19,7 @@ func TestAccSecurityCenterV2ProjectNotificationConfig_updateStreamingConfigFilte acctest.VcrTest(t, resource.TestCase{ PreCheck: func() { acctest.AccTestPreCheck(t) }, - ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t), + ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t), Steps: []resource.TestStep{ { Config: testAccSecurityCenterV2ProjectNotificationConfig_sccV2ProjectNotificationConfigBasicExample(context),