diff --git a/google/services/alloydb/resource_alloydb_backup_generated_test.go b/google/services/alloydb/resource_alloydb_backup_generated_test.go index 25ab7ddd731..de0025e2f90 100644 --- a/google/services/alloydb/resource_alloydb_backup_generated_test.go +++ b/google/services/alloydb/resource_alloydb_backup_generated_test.go @@ -52,6 +52,12 @@ func TestAccAlloydbBackup_alloydbBackupBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "backup_id", "labels", "location", "reconciling", "terraform_labels", "update_time"}, }, + { + ResourceName: "google_alloydb_backup.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/alloydb/resource_alloydb_cluster_generated_test.go b/google/services/alloydb/resource_alloydb_cluster_generated_test.go index 2aaa01c8773..78e91df5eb9 100644 --- a/google/services/alloydb/resource_alloydb_cluster_generated_test.go +++ b/google/services/alloydb/resource_alloydb_cluster_generated_test.go @@ -51,6 +51,12 @@ func TestAccAlloydbCluster_alloydbClusterBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "cluster_id", "initial_user", "labels", "location", "restore_backup_source", "restore_continuous_backup_source", "terraform_labels"}, }, + { + ResourceName: "google_alloydb_cluster.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/alloydb/resource_alloydb_instance_generated_test.go b/google/services/alloydb/resource_alloydb_instance_generated_test.go index 638cb06aa04..a79ff806a67 100644 --- a/google/services/alloydb/resource_alloydb_instance_generated_test.go +++ b/google/services/alloydb/resource_alloydb_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccAlloydbInstance_alloydbInstanceBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "cluster", "display_name", "instance_id", "labels", "reconciling", "terraform_labels", "update_time"}, }, + { + ResourceName: "google_alloydb_instance.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/alloydb/resource_alloydb_user_generated_test.go b/google/services/alloydb/resource_alloydb_user_generated_test.go index 8b9ade9462c..cf73f23a3c2 100644 --- a/google/services/alloydb/resource_alloydb_user_generated_test.go +++ b/google/services/alloydb/resource_alloydb_user_generated_test.go @@ -52,6 +52,12 @@ func TestAccAlloydbUser_alloydbUserBuiltinTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"cluster", "password", "password", "user_id"}, }, + { + ResourceName: "google_alloydb_user.user1", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_addons_config_generated_test.go b/google/services/apigee/resource_apigee_addons_config_generated_test.go index a9d9ad69583..af8e12f146b 100644 --- a/google/services/apigee/resource_apigee_addons_config_generated_test.go +++ b/google/services/apigee/resource_apigee_addons_config_generated_test.go @@ -54,6 +54,12 @@ func TestAccApigeeAddonsConfig_apigeeAddonsTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"org"}, }, + { + ResourceName: "google_apigee_addons_config.apigee_org_addons", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_api_product_generated_test.go b/google/services/apigee/resource_apigee_api_product_generated_test.go index 1f96e5158d6..28f4523ad74 100644 --- a/google/services/apigee/resource_apigee_api_product_generated_test.go +++ b/google/services/apigee/resource_apigee_api_product_generated_test.go @@ -57,6 +57,12 @@ func TestAccApigeeApiProduct_apigeeApiProductBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"org_id"}, }, + { + ResourceName: "google_apigee_api_product.apigee_api_product", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_app_group_generated_test.go b/google/services/apigee/resource_apigee_app_group_generated_test.go index 17f620f8548..6a006a947fc 100644 --- a/google/services/apigee/resource_apigee_app_group_generated_test.go +++ b/google/services/apigee/resource_apigee_app_group_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeAppGroup_apigeeAppGroupBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"org_id"}, }, + { + ResourceName: "google_apigee_app_group.apigee_app_group", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_control_plane_access_generated_test.go b/google/services/apigee/resource_apigee_control_plane_access_generated_test.go index 9a10b4d2beb..b4b9d049e18 100644 --- a/google/services/apigee/resource_apigee_control_plane_access_generated_test.go +++ b/google/services/apigee/resource_apigee_control_plane_access_generated_test.go @@ -48,6 +48,12 @@ func TestAccApigeeControlPlaneAccess_apigeeControlPlaneAccessBasicTestExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name"}, }, + { + ResourceName: "google_apigee_control_plane_access.apigee_control_plane_access", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_developer_generated_test.go b/google/services/apigee/resource_apigee_developer_generated_test.go index d693518c81e..56eb15fdc49 100644 --- a/google/services/apigee/resource_apigee_developer_generated_test.go +++ b/google/services/apigee/resource_apigee_developer_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeDeveloper_apigeeDeveloperBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"org_id"}, }, + { + ResourceName: "google_apigee_developer.apigee_developer", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_env_keystore_generated_test.go b/google/services/apigee/resource_apigee_env_keystore_generated_test.go index b688d027799..b11e0445084 100644 --- a/google/services/apigee/resource_apigee_env_keystore_generated_test.go +++ b/google/services/apigee/resource_apigee_env_keystore_generated_test.go @@ -57,6 +57,12 @@ func TestAccApigeeEnvKeystore_apigeeEnvironmentKeystoreTestExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"env_id"}, }, + { + ResourceName: "google_apigee_env_keystore.apigee_environment_keystore", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_env_references_generated_test.go b/google/services/apigee/resource_apigee_env_references_generated_test.go index 55b9c1862e9..8e4aa94d07c 100644 --- a/google/services/apigee/resource_apigee_env_references_generated_test.go +++ b/google/services/apigee/resource_apigee_env_references_generated_test.go @@ -57,6 +57,12 @@ func TestAccApigeeEnvReferences_apigeeEnvironmentReferenceTestExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"env_id"}, }, + { + ResourceName: "google_apigee_env_references.apigee_environment_reference", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_envgroup_attachment_generated_test.go b/google/services/apigee/resource_apigee_envgroup_attachment_generated_test.go index 288f2ebee9f..b6c6e6e2470 100644 --- a/google/services/apigee/resource_apigee_envgroup_attachment_generated_test.go +++ b/google/services/apigee/resource_apigee_envgroup_attachment_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeEnvgroupAttachment_apigeeEnvironmentGroupAttachmentBasicTestEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"envgroup_id"}, }, + { + ResourceName: "google_apigee_envgroup_attachment.apigee_environment_group_attachment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_envgroup_generated_test.go b/google/services/apigee/resource_apigee_envgroup_generated_test.go index 648244f08e7..acc2133acae 100644 --- a/google/services/apigee/resource_apigee_envgroup_generated_test.go +++ b/google/services/apigee/resource_apigee_envgroup_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeEnvgroup_apigeeEnvironmentGroupBasicTestExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"org_id"}, }, + { + ResourceName: "google_apigee_envgroup.apigee_environment_group", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_environment_addons_config_generated_test.go b/google/services/apigee/resource_apigee_environment_addons_config_generated_test.go index 6293d49ce2a..18072194eef 100644 --- a/google/services/apigee/resource_apigee_environment_addons_config_generated_test.go +++ b/google/services/apigee/resource_apigee_environment_addons_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccApigeeEnvironmentAddonsConfig_apigeeEnvAddonsAnalyticsTestExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"env_id"}, }, + { + ResourceName: "google_apigee_environment_addons_config.apigee_org_addons", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_environment_generated_test.go b/google/services/apigee/resource_apigee_environment_generated_test.go index ef8c07e9d67..92dcec86dc1 100644 --- a/google/services/apigee/resource_apigee_environment_generated_test.go +++ b/google/services/apigee/resource_apigee_environment_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeEnvironment_apigeeEnvironmentBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"org_id"}, }, + { + ResourceName: "google_apigee_environment.apigee_environment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_environment_keyvaluemaps_entries_generated_test.go b/google/services/apigee/resource_apigee_environment_keyvaluemaps_entries_generated_test.go index 9bece24ae68..baa4889e22e 100644 --- a/google/services/apigee/resource_apigee_environment_keyvaluemaps_entries_generated_test.go +++ b/google/services/apigee/resource_apigee_environment_keyvaluemaps_entries_generated_test.go @@ -57,6 +57,12 @@ func TestAccApigeeEnvironmentKeyvaluemapsEntries_apigeeEnvironmentKeyvaluemapsEn ImportStateVerify: true, ImportStateVerifyIgnore: []string{"env_keyvaluemap_id"}, }, + { + ResourceName: "google_apigee_environment_keyvaluemaps_entries.apigee_environment_keyvaluemaps_entries", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_environment_keyvaluemaps_generated_test.go b/google/services/apigee/resource_apigee_environment_keyvaluemaps_generated_test.go index 52854220e64..78642214761 100644 --- a/google/services/apigee/resource_apigee_environment_keyvaluemaps_generated_test.go +++ b/google/services/apigee/resource_apigee_environment_keyvaluemaps_generated_test.go @@ -57,6 +57,12 @@ func TestAccApigeeEnvironmentKeyvaluemaps_apigeeEnvironmentKeyvaluemapsTestExamp ImportStateVerify: true, ImportStateVerifyIgnore: []string{"env_id"}, }, + { + ResourceName: "google_apigee_environment_keyvaluemaps.apigee_environment_keyvaluemaps", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_instance_attachment_generated_test.go b/google/services/apigee/resource_apigee_instance_attachment_generated_test.go index 3e508acee2b..9687dca9ab1 100644 --- a/google/services/apigee/resource_apigee_instance_attachment_generated_test.go +++ b/google/services/apigee/resource_apigee_instance_attachment_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeInstanceAttachment_apigeeInstanceAttachmentBasicTestExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance_id"}, }, + { + ResourceName: "google_apigee_instance_attachment.apigee_instance_attachment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_instance_generated_test.go b/google/services/apigee/resource_apigee_instance_generated_test.go index 9f6524f8d17..4ca7c7f3214 100644 --- a/google/services/apigee/resource_apigee_instance_generated_test.go +++ b/google/services/apigee/resource_apigee_instance_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeInstance_apigeeInstanceBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"ip_range", "org_id"}, }, + { + ResourceName: "google_apigee_instance.apigee_instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_keystores_aliases_self_signed_cert_generated_test.go b/google/services/apigee/resource_apigee_keystores_aliases_self_signed_cert_generated_test.go index fcea654dc13..857cd166832 100644 --- a/google/services/apigee/resource_apigee_keystores_aliases_self_signed_cert_generated_test.go +++ b/google/services/apigee/resource_apigee_keystores_aliases_self_signed_cert_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeKeystoresAliasesSelfSignedCert_apigeeEnvKeystoreAliasSelfSigne ImportStateVerify: true, ImportStateVerifyIgnore: []string{"cert_validity_in_days", "environment", "key_size", "keystore", "org_id", "sig_alg", "subject"}, }, + { + ResourceName: "google_apigee_keystores_aliases_self_signed_cert.apigee_environment_keystore_ss_alias", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_nat_address_generated_test.go b/google/services/apigee/resource_apigee_nat_address_generated_test.go index 150d541fa37..162ce0810f0 100644 --- a/google/services/apigee/resource_apigee_nat_address_generated_test.go +++ b/google/services/apigee/resource_apigee_nat_address_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeNatAddress_apigeeNatAddressBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance_id"}, }, + { + ResourceName: "google_apigee_nat_address.apigee_nat_address", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_organization_generated_test.go b/google/services/apigee/resource_apigee_organization_generated_test.go index 9c7518b7656..a21f9b5d230 100644 --- a/google/services/apigee/resource_apigee_organization_generated_test.go +++ b/google/services/apigee/resource_apigee_organization_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeOrganization_apigeeOrganizationCloudBasicTestExample(t *testin ImportStateVerify: true, ImportStateVerifyIgnore: []string{"project_id", "properties", "retention"}, }, + { + ResourceName: "google_apigee_organization.org", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_security_monitoring_condition_generated_test.go b/google/services/apigee/resource_apigee_security_monitoring_condition_generated_test.go index f29ae360a7b..95085ce4115 100644 --- a/google/services/apigee/resource_apigee_security_monitoring_condition_generated_test.go +++ b/google/services/apigee/resource_apigee_security_monitoring_condition_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeSecurityMonitoringCondition_apigeeSecurityMonitoringConditionB ImportStateVerify: true, ImportStateVerifyIgnore: []string{"condition_id", "org_id"}, }, + { + ResourceName: "google_apigee_security_monitoring_condition.security_monitoring_condition", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_security_profile_v2_generated_test.go b/google/services/apigee/resource_apigee_security_profile_v2_generated_test.go index f3605585ae6..d6b2abf37a0 100644 --- a/google/services/apigee/resource_apigee_security_profile_v2_generated_test.go +++ b/google/services/apigee/resource_apigee_security_profile_v2_generated_test.go @@ -58,6 +58,12 @@ func TestAccApigeeSecurityProfileV2_apigeeSecurityProfileV2BasicTestExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"org_id", "profile_id"}, }, + { + ResourceName: "google_apigee_security_profile_v2.security_profile_v2", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_sync_authorization_generated_test.go b/google/services/apigee/resource_apigee_sync_authorization_generated_test.go index 0d3a6a730aa..bf5b7ad2fdf 100644 --- a/google/services/apigee/resource_apigee_sync_authorization_generated_test.go +++ b/google/services/apigee/resource_apigee_sync_authorization_generated_test.go @@ -48,6 +48,12 @@ func TestAccApigeeSyncAuthorization_apigeeSyncAuthorizationBasicTestExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name"}, }, + { + ResourceName: "google_apigee_sync_authorization.apigee_sync_authorization", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apigee/resource_apigee_target_server_generated_test.go b/google/services/apigee/resource_apigee_target_server_generated_test.go index f5a39742206..deea7f58237 100644 --- a/google/services/apigee/resource_apigee_target_server_generated_test.go +++ b/google/services/apigee/resource_apigee_target_server_generated_test.go @@ -57,6 +57,12 @@ func TestAccApigeeTargetServer_apigeeTargetServerTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"env_id"}, }, + { + ResourceName: "google_apigee_target_server.apigee_target_server", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apihub/resource_apihub_host_project_registration_generated_test.go b/google/services/apihub/resource_apihub_host_project_registration_generated_test.go index 375a3bc98fb..7cd28b7582e 100644 --- a/google/services/apihub/resource_apihub_host_project_registration_generated_test.go +++ b/google/services/apihub/resource_apihub_host_project_registration_generated_test.go @@ -51,6 +51,12 @@ func TestAccApihubHostProjectRegistration_apihubHostProjectRegistrationBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"host_project_registration_id", "location"}, }, + { + ResourceName: "google_apihub_host_project_registration.apihub_host_project", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/appengine/resource_app_engine_application_url_dispatch_rules_generated_test.go b/google/services/appengine/resource_app_engine_application_url_dispatch_rules_generated_test.go index 76fc093fcac..c1d94fe107d 100644 --- a/google/services/appengine/resource_app_engine_application_url_dispatch_rules_generated_test.go +++ b/google/services/appengine/resource_app_engine_application_url_dispatch_rules_generated_test.go @@ -48,6 +48,12 @@ func TestAccAppEngineApplicationUrlDispatchRules_appEngineApplicationUrlDispatch ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_app_engine_application_url_dispatch_rules.web_service", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/appengine/resource_app_engine_domain_mapping_generated_test.go b/google/services/appengine/resource_app_engine_domain_mapping_generated_test.go index 47b633a2f45..eab84846ab0 100644 --- a/google/services/appengine/resource_app_engine_domain_mapping_generated_test.go +++ b/google/services/appengine/resource_app_engine_domain_mapping_generated_test.go @@ -51,6 +51,12 @@ func TestAccAppEngineDomainMapping_appEngineDomainMappingBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"override_strategy", "ssl_settings.0.ssl_management_type"}, }, + { + ResourceName: "google_app_engine_domain_mapping.domain_mapping", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/appengine/resource_app_engine_firewall_rule_generated_test.go b/google/services/appengine/resource_app_engine_firewall_rule_generated_test.go index e9650d8c291..451896a9517 100644 --- a/google/services/appengine/resource_app_engine_firewall_rule_generated_test.go +++ b/google/services/appengine/resource_app_engine_firewall_rule_generated_test.go @@ -53,6 +53,12 @@ func TestAccAppEngineFirewallRule_appEngineFirewallRuleBasicExample(t *testing.T ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_app_engine_firewall_rule.rule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/appengine/resource_app_engine_service_network_settings_generated_test.go b/google/services/appengine/resource_app_engine_service_network_settings_generated_test.go index 8e6789a4ca2..c155aa908c2 100644 --- a/google/services/appengine/resource_app_engine_service_network_settings_generated_test.go +++ b/google/services/appengine/resource_app_engine_service_network_settings_generated_test.go @@ -44,6 +44,12 @@ func TestAccAppEngineServiceNetworkSettings_appEngineServiceNetworkSettingsExamp ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_app_engine_service_network_settings.internalapp", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/appengine/resource_app_engine_service_split_traffic_generated_test.go b/google/services/appengine/resource_app_engine_service_split_traffic_generated_test.go index 76e9a3d9c20..f56c7ff9d4a 100644 --- a/google/services/appengine/resource_app_engine_service_split_traffic_generated_test.go +++ b/google/services/appengine/resource_app_engine_service_split_traffic_generated_test.go @@ -47,6 +47,12 @@ func TestAccAppEngineServiceSplitTraffic_appEngineServiceSplitTrafficExample(t * ImportStateVerify: true, ImportStateVerifyIgnore: []string{"migrate_traffic", "split"}, }, + { + ResourceName: "google_app_engine_service_split_traffic.liveapp", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/appengine/resource_app_engine_standard_app_version_generated_test.go b/google/services/appengine/resource_app_engine_standard_app_version_generated_test.go index dfe4c0919e6..8de98fce5f6 100644 --- a/google/services/appengine/resource_app_engine_standard_app_version_generated_test.go +++ b/google/services/appengine/resource_app_engine_standard_app_version_generated_test.go @@ -51,6 +51,12 @@ func TestAccAppEngineStandardAppVersion_appEngineStandardAppVersionExample(t *te ImportStateVerify: true, ImportStateVerifyIgnore: []string{"delete_service_on_destroy", "deployment", "entrypoint", "env_variables", "service", "threadsafe"}, }, + { + ResourceName: "google_app_engine_standard_app_version.myapp_v1", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apphub/resource_apphub_application_generated_test.go b/google/services/apphub/resource_apphub_application_generated_test.go index a06c4b5eeb9..ab65c15f617 100644 --- a/google/services/apphub/resource_apphub_application_generated_test.go +++ b/google/services/apphub/resource_apphub_application_generated_test.go @@ -53,6 +53,12 @@ func TestAccApphubApplication_apphubApplicationBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"application_id", "location"}, }, + { + ResourceName: "google_apphub_application.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apphub/resource_apphub_service_generated_test.go b/google/services/apphub/resource_apphub_service_generated_test.go index 1353c654fdd..f6d9479c64d 100644 --- a/google/services/apphub/resource_apphub_service_generated_test.go +++ b/google/services/apphub/resource_apphub_service_generated_test.go @@ -58,6 +58,12 @@ func TestAccApphubService_apphubServiceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"application_id", "location", "service_id"}, }, + { + ResourceName: "google_apphub_service.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apphub/resource_apphub_service_project_attachment_generated_test.go b/google/services/apphub/resource_apphub_service_project_attachment_generated_test.go index 94320e444c5..72d39f359a7 100644 --- a/google/services/apphub/resource_apphub_service_project_attachment_generated_test.go +++ b/google/services/apphub/resource_apphub_service_project_attachment_generated_test.go @@ -58,6 +58,12 @@ func TestAccApphubServiceProjectAttachment_serviceProjectAttachmentBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"service_project_attachment_id"}, }, + { + ResourceName: "google_apphub_service_project_attachment.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/apphub/resource_apphub_workload_generated_test.go b/google/services/apphub/resource_apphub_workload_generated_test.go index 8f2234c9717..3c8434ebbbb 100644 --- a/google/services/apphub/resource_apphub_workload_generated_test.go +++ b/google/services/apphub/resource_apphub_workload_generated_test.go @@ -58,6 +58,12 @@ func TestAccApphubWorkload_apphubWorkloadBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"application_id", "location", "workload_id"}, }, + { + ResourceName: "google_apphub_workload.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/artifactregistry/resource_artifact_registry_repository_generated_test.go b/google/services/artifactregistry/resource_artifact_registry_repository_generated_test.go index 4d8fb3b1bb5..f96635b568c 100644 --- a/google/services/artifactregistry/resource_artifact_registry_repository_generated_test.go +++ b/google/services/artifactregistry/resource_artifact_registry_repository_generated_test.go @@ -51,6 +51,12 @@ func TestAccArtifactRegistryRepository_artifactRegistryRepositoryBasicExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "repository_id", "terraform_labels"}, }, + { + ResourceName: "google_artifact_registry_repository.my-repo", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/assuredworkloads/resource_assured_workloads_workload.go b/google/services/assuredworkloads/resource_assured_workloads_workload.go index d02eee567ba..cc3bc0b9197 100644 --- a/google/services/assuredworkloads/resource_assured_workloads_workload.go +++ b/google/services/assuredworkloads/resource_assured_workloads_workload.go @@ -59,20 +59,20 @@ func ResourceAssuredWorkloadsWorkload() *schema.Resource { Version: 1, SchemaFunc: func() map[string]*schema.Schema { return map[string]*schema.Schema{ - "name": { + "organization": { Type: schema.TypeString, RequiredForImport: true, - Description: "Output only. The resource name of the workload.", + Description: "The organization for the resource", }, "location": { Type: schema.TypeString, RequiredForImport: true, Description: "The location for the resource", }, - "organization": { + "name": { Type: schema.TypeString, RequiredForImport: true, - Description: "The organization for the resource", + Description: "Output only. The resource name of the workload.", }, } }, diff --git a/google/services/backupdr/resource_backup_dr_backup_plan_association_generated_test.go b/google/services/backupdr/resource_backup_dr_backup_plan_association_generated_test.go index d17014d12c2..2b35c489b42 100644 --- a/google/services/backupdr/resource_backup_dr_backup_plan_association_generated_test.go +++ b/google/services/backupdr/resource_backup_dr_backup_plan_association_generated_test.go @@ -53,6 +53,12 @@ func TestAccBackupDRBackupPlanAssociation_backupDrBpaExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backup_plan_association_id", "location", "resource"}, }, + { + ResourceName: "google_backup_dr_backup_plan_association.my-backup-plan-association", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/backupdr/resource_backup_dr_backup_plan_generated_test.go b/google/services/backupdr/resource_backup_dr_backup_plan_generated_test.go index 565be684937..12be62d45b9 100644 --- a/google/services/backupdr/resource_backup_dr_backup_plan_generated_test.go +++ b/google/services/backupdr/resource_backup_dr_backup_plan_generated_test.go @@ -51,6 +51,12 @@ func TestAccBackupDRBackupPlan_backupDrBackupPlanSimpleExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backup_plan_id", "location"}, }, + { + ResourceName: "google_backup_dr_backup_plan.my-backup-plan-1", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/backupdr/resource_backup_dr_backup_vault_generated_test.go b/google/services/backupdr/resource_backup_dr_backup_vault_generated_test.go index 5bbaa94180e..2d268ed7915 100644 --- a/google/services/backupdr/resource_backup_dr_backup_vault_generated_test.go +++ b/google/services/backupdr/resource_backup_dr_backup_vault_generated_test.go @@ -53,6 +53,12 @@ func TestAccBackupDRBackupVault_backupDrBackupVaultFullExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"allow_missing", "annotations", "backup_retention_inheritance", "backup_vault_id", "force_delete", "force_update", "ignore_backup_plan_references", "ignore_inactive_datasources", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_backup_dr_backup_vault.backup-vault-test", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/backupdr/resource_backup_dr_service_config_generated_test.go b/google/services/backupdr/resource_backup_dr_service_config_generated_test.go index f6ca0c2ecc1..f004024c108 100644 --- a/google/services/backupdr/resource_backup_dr_service_config_generated_test.go +++ b/google/services/backupdr/resource_backup_dr_service_config_generated_test.go @@ -41,6 +41,12 @@ func TestAccBackupDRServiceConfig_backupDrServiceConfigExample(t *testing.T) { { Config: testAccBackupDRServiceConfig_backupDrServiceConfigExample(context), }, + { + ResourceName: "google_backup_dr_service_config.my-service-config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/beyondcorp/resource_beyondcorp_app_connection_generated_test.go b/google/services/beyondcorp/resource_beyondcorp_app_connection_generated_test.go index 752402e2416..9a7b62adec7 100644 --- a/google/services/beyondcorp/resource_beyondcorp_app_connection_generated_test.go +++ b/google/services/beyondcorp/resource_beyondcorp_app_connection_generated_test.go @@ -51,6 +51,12 @@ func TestAccBeyondcorpAppConnection_beyondcorpAppConnectionBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "region", "terraform_labels"}, }, + { + ResourceName: "google_beyondcorp_app_connection.app_connection", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/beyondcorp/resource_beyondcorp_app_connector_generated_test.go b/google/services/beyondcorp/resource_beyondcorp_app_connector_generated_test.go index bce6a2f32d1..2aed73be8bd 100644 --- a/google/services/beyondcorp/resource_beyondcorp_app_connector_generated_test.go +++ b/google/services/beyondcorp/resource_beyondcorp_app_connector_generated_test.go @@ -51,6 +51,12 @@ func TestAccBeyondcorpAppConnector_beyondcorpAppConnectorBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "region", "terraform_labels"}, }, + { + ResourceName: "google_beyondcorp_app_connector.app_connector", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/beyondcorp/resource_beyondcorp_app_gateway_generated_test.go b/google/services/beyondcorp/resource_beyondcorp_app_gateway_generated_test.go index 5d45497a053..be4cdba139f 100644 --- a/google/services/beyondcorp/resource_beyondcorp_app_gateway_generated_test.go +++ b/google/services/beyondcorp/resource_beyondcorp_app_gateway_generated_test.go @@ -51,6 +51,12 @@ func TestAccBeyondcorpAppGateway_beyondcorpAppGatewayBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "region", "terraform_labels"}, }, + { + ResourceName: "google_beyondcorp_app_gateway.app_gateway", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/beyondcorp/resource_beyondcorp_application_generated_test.go b/google/services/beyondcorp/resource_beyondcorp_application_generated_test.go index aa59a106457..cb108cfdc50 100644 --- a/google/services/beyondcorp/resource_beyondcorp_application_generated_test.go +++ b/google/services/beyondcorp/resource_beyondcorp_application_generated_test.go @@ -51,6 +51,12 @@ func TestAccBeyondcorpApplication_beyondcorpApplicationBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"application_id", "security_gateways_id"}, }, + { + ResourceName: "google_beyondcorp_application.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/beyondcorp/resource_beyondcorp_security_gateway_application_generated_test.go b/google/services/beyondcorp/resource_beyondcorp_security_gateway_application_generated_test.go index 062b54f9c32..4869d9d2ddb 100644 --- a/google/services/beyondcorp/resource_beyondcorp_security_gateway_application_generated_test.go +++ b/google/services/beyondcorp/resource_beyondcorp_security_gateway_application_generated_test.go @@ -51,6 +51,12 @@ func TestAccBeyondcorpSecurityGatewayApplication_beyondcorpSecurityGatewayApplic ImportStateVerify: true, ImportStateVerifyIgnore: []string{"application_id", "security_gateway_id"}, }, + { + ResourceName: "google_beyondcorp_security_gateway_application.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/beyondcorp/resource_beyondcorp_security_gateway_generated_test.go b/google/services/beyondcorp/resource_beyondcorp_security_gateway_generated_test.go index 57c51b52e4a..6d364abbf94 100644 --- a/google/services/beyondcorp/resource_beyondcorp_security_gateway_generated_test.go +++ b/google/services/beyondcorp/resource_beyondcorp_security_gateway_generated_test.go @@ -51,6 +51,12 @@ func TestAccBeyondcorpSecurityGateway_beyondcorpSecurityGatewayBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "security_gateway_id"}, }, + { + ResourceName: "google_beyondcorp_security_gateway.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/biglake/resource_biglake_catalog_generated_test.go b/google/services/biglake/resource_biglake_catalog_generated_test.go index 02dfc3f4eac..79cebe1cdfd 100644 --- a/google/services/biglake/resource_biglake_catalog_generated_test.go +++ b/google/services/biglake/resource_biglake_catalog_generated_test.go @@ -51,6 +51,12 @@ func TestAccBiglakeCatalog_bigqueryBiglakeCatalogExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name"}, }, + { + ResourceName: "google_biglake_catalog.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/biglake/resource_biglake_database_generated_test.go b/google/services/biglake/resource_biglake_database_generated_test.go index 9b472351ec6..63cdedb3603 100644 --- a/google/services/biglake/resource_biglake_database_generated_test.go +++ b/google/services/biglake/resource_biglake_database_generated_test.go @@ -51,6 +51,12 @@ func TestAccBiglakeDatabase_biglakeDatabaseExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"catalog", "name"}, }, + { + ResourceName: "google_biglake_database.database", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/biglake/resource_biglake_table_generated_test.go b/google/services/biglake/resource_biglake_table_generated_test.go index fcb19cd8db2..ace07a128a7 100644 --- a/google/services/biglake/resource_biglake_table_generated_test.go +++ b/google/services/biglake/resource_biglake_table_generated_test.go @@ -51,6 +51,12 @@ func TestAccBiglakeTable_biglakeTableExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"database", "name"}, }, + { + ResourceName: "google_biglake_table.table", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigquery/resource_bigquery_dataset_generated_test.go b/google/services/bigquery/resource_bigquery_dataset_generated_test.go index 620c5044858..7e7934db025 100644 --- a/google/services/bigquery/resource_bigquery_dataset_generated_test.go +++ b/google/services/bigquery/resource_bigquery_dataset_generated_test.go @@ -52,6 +52,12 @@ func TestAccBigQueryDataset_bigqueryDatasetBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "terraform_labels"}, }, + { + ResourceName: "google_bigquery_dataset.dataset", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigquery/resource_bigquery_job_generated_test.go b/google/services/bigquery/resource_bigquery_job_generated_test.go index 2fbfc1a523f..1e9dccb39a3 100644 --- a/google/services/bigquery/resource_bigquery_job_generated_test.go +++ b/google/services/bigquery/resource_bigquery_job_generated_test.go @@ -46,6 +46,12 @@ func TestAccBigQueryJob_bigqueryJobQueryExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"etag", "labels", "status.0.state", "terraform_labels"}, }, + { + ResourceName: "google_bigquery_job.job", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigquery/resource_bigquery_routine_generated_test.go b/google/services/bigquery/resource_bigquery_routine_generated_test.go index a91ce188548..cf4e5933542 100644 --- a/google/services/bigquery/resource_bigquery_routine_generated_test.go +++ b/google/services/bigquery/resource_bigquery_routine_generated_test.go @@ -50,6 +50,12 @@ func TestAccBigQueryRoutine_bigqueryRoutineBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_bigquery_routine.sproc", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigquery/resource_bigquery_row_access_policy_generated_test.go b/google/services/bigquery/resource_bigquery_row_access_policy_generated_test.go index 7a6f89cbb27..056b18853b4 100644 --- a/google/services/bigquery/resource_bigquery_row_access_policy_generated_test.go +++ b/google/services/bigquery/resource_bigquery_row_access_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccBigQueryRowAccessPolicy_bigqueryRowAccessPolicyBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"grantees"}, }, + { + ResourceName: "google_bigquery_row_access_policy.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_data_exchange_generated_test.go b/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_data_exchange_generated_test.go index 79f89d7a429..f732aeeffa9 100644 --- a/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_data_exchange_generated_test.go +++ b/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_data_exchange_generated_test.go @@ -51,6 +51,12 @@ func TestAccBigqueryAnalyticsHubDataExchange_bigqueryAnalyticshubDataExchangeBas ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_exchange_id", "location"}, }, + { + ResourceName: "google_bigquery_analytics_hub_data_exchange.data_exchange", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_listing_generated_test.go b/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_listing_generated_test.go index ab6567c0639..9362b108a32 100644 --- a/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_listing_generated_test.go +++ b/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_listing_generated_test.go @@ -51,6 +51,12 @@ func TestAccBigqueryAnalyticsHubListing_bigqueryAnalyticshubListingBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_exchange_id", "listing_id", "location"}, }, + { + ResourceName: "google_bigquery_analytics_hub_listing.listing", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_listing_subscription_generated_test.go b/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_listing_subscription_generated_test.go index 16abfa1b628..76956aacb18 100644 --- a/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_listing_subscription_generated_test.go +++ b/google/services/bigqueryanalyticshub/resource_bigquery_analytics_hub_listing_subscription_generated_test.go @@ -51,6 +51,12 @@ func TestAccBigqueryAnalyticsHubListingSubscription_bigqueryAnalyticshubListingS ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_exchange_id", "destination_dataset", "listing_id", "location"}, }, + { + ResourceName: "google_bigquery_analytics_hub_listing_subscription.subscription", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigqueryconnection/resource_bigquery_connection_generated_test.go b/google/services/bigqueryconnection/resource_bigquery_connection_generated_test.go index 7a3f5972c20..21a14dd1bb1 100644 --- a/google/services/bigqueryconnection/resource_bigquery_connection_generated_test.go +++ b/google/services/bigqueryconnection/resource_bigquery_connection_generated_test.go @@ -55,6 +55,12 @@ func TestAccBigqueryConnectionConnection_bigqueryConnectionCloudResourceExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_bigquery_connection.connection", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigquerydatapolicy/resource_bigquery_datapolicy_data_policy_generated_test.go b/google/services/bigquerydatapolicy/resource_bigquery_datapolicy_data_policy_generated_test.go index 4ec4e6b0009..bf226aaf4ef 100644 --- a/google/services/bigquerydatapolicy/resource_bigquery_datapolicy_data_policy_generated_test.go +++ b/google/services/bigquerydatapolicy/resource_bigquery_datapolicy_data_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccBigqueryDatapolicyDataPolicy_bigqueryDatapolicyDataPolicyBasicExampl ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_bigquery_datapolicy_data_policy.data_policy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigqueryreservation/resource_bigquery_bi_reservation_generated_test.go b/google/services/bigqueryreservation/resource_bigquery_bi_reservation_generated_test.go index 0e6c53b94c5..9f244a97498 100644 --- a/google/services/bigqueryreservation/resource_bigquery_bi_reservation_generated_test.go +++ b/google/services/bigqueryreservation/resource_bigquery_bi_reservation_generated_test.go @@ -56,6 +56,12 @@ func TestAccBigqueryReservationBiReservation_bigqueryReservationBiReservationBas ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_bigquery_bi_reservation.reservation", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigqueryreservation/resource_bigquery_capacity_commitment_generated_test.go b/google/services/bigqueryreservation/resource_bigquery_capacity_commitment_generated_test.go index f91dcd07af1..38522f4f8ad 100644 --- a/google/services/bigqueryreservation/resource_bigquery_capacity_commitment_generated_test.go +++ b/google/services/bigqueryreservation/resource_bigquery_capacity_commitment_generated_test.go @@ -55,6 +55,12 @@ func TestAccBigqueryReservationCapacityCommitment_bigqueryReservationCapacityCom ImportStateVerify: true, ImportStateVerifyIgnore: []string{"capacity_commitment_id", "enforce_single_admin_project_per_org", "location"}, }, + { + ResourceName: "google_bigquery_capacity_commitment.commitment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigqueryreservation/resource_bigquery_reservation_assignment_generated_test.go b/google/services/bigqueryreservation/resource_bigquery_reservation_assignment_generated_test.go index 9e7da56ef55..bf454aa7d32 100644 --- a/google/services/bigqueryreservation/resource_bigquery_reservation_assignment_generated_test.go +++ b/google/services/bigqueryreservation/resource_bigquery_reservation_assignment_generated_test.go @@ -53,6 +53,12 @@ func TestAccBigqueryReservationReservationAssignment_bigqueryReservationAssignme ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "reservation"}, }, + { + ResourceName: "google_bigquery_reservation_assignment.assignment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigqueryreservation/resource_bigquery_reservation_generated_test.go b/google/services/bigqueryreservation/resource_bigquery_reservation_generated_test.go index 0ad2c07f420..4ccd0f4fcf3 100644 --- a/google/services/bigqueryreservation/resource_bigquery_reservation_generated_test.go +++ b/google/services/bigqueryreservation/resource_bigquery_reservation_generated_test.go @@ -51,6 +51,12 @@ func TestAccBigqueryReservationReservation_bigqueryReservationBasicExample(t *te ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name"}, }, + { + ResourceName: "google_bigquery_reservation.reservation", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigtable/resource_bigtable_app_profile_generated_test.go b/google/services/bigtable/resource_bigtable_app_profile_generated_test.go index de875efed75..33065cb2d09 100644 --- a/google/services/bigtable/resource_bigtable_app_profile_generated_test.go +++ b/google/services/bigtable/resource_bigtable_app_profile_generated_test.go @@ -53,6 +53,12 @@ func TestAccBigtableAppProfile_bigtableAppProfileAnyclusterExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"app_profile_id", "ignore_warnings", "ignore_warnings", "instance"}, }, + { + ResourceName: "google_bigtable_app_profile.ap", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigtable/resource_bigtable_logical_view_generated_test.go b/google/services/bigtable/resource_bigtable_logical_view_generated_test.go index bc653af37a3..78725d8a199 100644 --- a/google/services/bigtable/resource_bigtable_logical_view_generated_test.go +++ b/google/services/bigtable/resource_bigtable_logical_view_generated_test.go @@ -53,6 +53,12 @@ func TestAccBigtableLogicalView_bigtableLogicalViewExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance", "logical_view_id"}, }, + { + ResourceName: "google_bigtable_logical_view.logical_view", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigtable/resource_bigtable_materialized_view_generated_test.go b/google/services/bigtable/resource_bigtable_materialized_view_generated_test.go index a1fd6ab1d23..fe14fc6608e 100644 --- a/google/services/bigtable/resource_bigtable_materialized_view_generated_test.go +++ b/google/services/bigtable/resource_bigtable_materialized_view_generated_test.go @@ -53,6 +53,12 @@ func TestAccBigtableMaterializedView_bigtableMaterializedViewExample(t *testing. ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance", "materialized_view_id"}, }, + { + ResourceName: "google_bigtable_materialized_view.materialized_view", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/bigtable/resource_bigtable_schema_bundle_generated_test.go b/google/services/bigtable/resource_bigtable_schema_bundle_generated_test.go index 2dfde88a290..b9075f36351 100644 --- a/google/services/bigtable/resource_bigtable_schema_bundle_generated_test.go +++ b/google/services/bigtable/resource_bigtable_schema_bundle_generated_test.go @@ -52,6 +52,12 @@ func TestAccBigtableSchemaBundle_bigtableSchemaBundleExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"ignore_warnings", "ignore_warnings", "instance", "schema_bundle_id", "table"}, }, + { + ResourceName: "google_bigtable_schema_bundle.schema_bundle", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/billing/resource_billing_budget_generated_test.go b/google/services/billing/resource_billing_budget_generated_test.go index ee5e0bc3d82..eec185d568e 100644 --- a/google/services/billing/resource_billing_budget_generated_test.go +++ b/google/services/billing/resource_billing_budget_generated_test.go @@ -53,6 +53,12 @@ func TestAccBillingBudget_billingBudgetBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"billing_account"}, }, + { + ResourceName: "google_billing_budget.budget", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/binaryauthorization/resource_binary_authorization_attestor_generated_test.go b/google/services/binaryauthorization/resource_binary_authorization_attestor_generated_test.go index d3ead11cd3d..c6b6cd8da87 100644 --- a/google/services/binaryauthorization/resource_binary_authorization_attestor_generated_test.go +++ b/google/services/binaryauthorization/resource_binary_authorization_attestor_generated_test.go @@ -50,6 +50,12 @@ func TestAccBinaryAuthorizationAttestor_binaryAuthorizationAttestorBasicExample( ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_binary_authorization_attestor.attestor", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/blockchainnodeengine/resource_blockchain_node_engine_blockchain_nodes_generated_test.go b/google/services/blockchainnodeengine/resource_blockchain_node_engine_blockchain_nodes_generated_test.go index 63862ed3c18..2791d6944af 100644 --- a/google/services/blockchainnodeengine/resource_blockchain_node_engine_blockchain_nodes_generated_test.go +++ b/google/services/blockchainnodeengine/resource_blockchain_node_engine_blockchain_nodes_generated_test.go @@ -51,6 +51,12 @@ func TestAccBlockchainNodeEngineBlockchainNodes_blockchainNodesBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"blockchain_node_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_blockchain_node_engine_blockchain_nodes.default_node", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/certificatemanager/resource_certificate_manager_certificate_generated_test.go b/google/services/certificatemanager/resource_certificate_manager_certificate_generated_test.go index eddec24a990..62218ce6103 100644 --- a/google/services/certificatemanager/resource_certificate_manager_certificate_generated_test.go +++ b/google/services/certificatemanager/resource_certificate_manager_certificate_generated_test.go @@ -51,6 +51,12 @@ func TestAccCertificateManagerCertificate_certificateManagerGoogleManagedCertifi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "self_managed", "terraform_labels"}, }, + { + ResourceName: "google_certificate_manager_certificate.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/certificatemanager/resource_certificate_manager_certificate_issuance_config_generated_test.go b/google/services/certificatemanager/resource_certificate_manager_certificate_issuance_config_generated_test.go index 69dba334db9..901d03f25ff 100644 --- a/google/services/certificatemanager/resource_certificate_manager_certificate_issuance_config_generated_test.go +++ b/google/services/certificatemanager/resource_certificate_manager_certificate_issuance_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccCertificateManagerCertificateIssuanceConfig_certificateManagerCertif ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_certificate_manager_certificate_issuance_config.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/certificatemanager/resource_certificate_manager_certificate_map_entry_generated_test.go b/google/services/certificatemanager/resource_certificate_manager_certificate_map_entry_generated_test.go index b198b9f18b6..c67f05a1578 100644 --- a/google/services/certificatemanager/resource_certificate_manager_certificate_map_entry_generated_test.go +++ b/google/services/certificatemanager/resource_certificate_manager_certificate_map_entry_generated_test.go @@ -51,6 +51,12 @@ func TestAccCertificateManagerCertificateMapEntry_certificateManagerCertificateM ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "map", "terraform_labels"}, }, + { + ResourceName: "google_certificate_manager_certificate_map_entry.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/certificatemanager/resource_certificate_manager_certificate_map_generated_test.go b/google/services/certificatemanager/resource_certificate_manager_certificate_map_generated_test.go index c6057265bf7..e6681fd6fea 100644 --- a/google/services/certificatemanager/resource_certificate_manager_certificate_map_generated_test.go +++ b/google/services/certificatemanager/resource_certificate_manager_certificate_map_generated_test.go @@ -51,6 +51,12 @@ func TestAccCertificateManagerCertificateMap_certificateManagerCertificateMapBas ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_certificate_manager_certificate_map.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/certificatemanager/resource_certificate_manager_dns_authorization_generated_test.go b/google/services/certificatemanager/resource_certificate_manager_dns_authorization_generated_test.go index 81053714afa..0f1c845381c 100644 --- a/google/services/certificatemanager/resource_certificate_manager_dns_authorization_generated_test.go +++ b/google/services/certificatemanager/resource_certificate_manager_dns_authorization_generated_test.go @@ -51,6 +51,12 @@ func TestAccCertificateManagerDnsAuthorization_certificateManagerDnsAuthorizatio ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_certificate_manager_dns_authorization.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/certificatemanager/resource_certificate_manager_trust_config_generated_test.go b/google/services/certificatemanager/resource_certificate_manager_trust_config_generated_test.go index 8421ae5d90b..59f8478b88a 100644 --- a/google/services/certificatemanager/resource_certificate_manager_trust_config_generated_test.go +++ b/google/services/certificatemanager/resource_certificate_manager_trust_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccCertificateManagerTrustConfig_certificateManagerTrustConfigExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_certificate_manager_trust_config.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/chronicle/resource_chronicle_data_access_label_generated_test.go b/google/services/chronicle/resource_chronicle_data_access_label_generated_test.go index 04b9aacc504..f92f8d96da1 100644 --- a/google/services/chronicle/resource_chronicle_data_access_label_generated_test.go +++ b/google/services/chronicle/resource_chronicle_data_access_label_generated_test.go @@ -53,6 +53,12 @@ func TestAccChronicleDataAccessLabel_chronicleDataaccesslabelBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_access_label_id", "instance", "location"}, }, + { + ResourceName: "google_chronicle_data_access_label.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/chronicle/resource_chronicle_data_access_scope_generated_test.go b/google/services/chronicle/resource_chronicle_data_access_scope_generated_test.go index c89c0330759..d5274ced367 100644 --- a/google/services/chronicle/resource_chronicle_data_access_scope_generated_test.go +++ b/google/services/chronicle/resource_chronicle_data_access_scope_generated_test.go @@ -53,6 +53,12 @@ func TestAccChronicleDataAccessScope_chronicleDataaccessscopeWithLogtypeExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_access_scope_id", "instance", "location"}, }, + { + ResourceName: "google_chronicle_data_access_scope.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/chronicle/resource_chronicle_reference_list_generated_test.go b/google/services/chronicle/resource_chronicle_reference_list_generated_test.go index 764ac340647..76d3d8c8639 100644 --- a/google/services/chronicle/resource_chronicle_reference_list_generated_test.go +++ b/google/services/chronicle/resource_chronicle_reference_list_generated_test.go @@ -47,6 +47,12 @@ func TestAccChronicleReferenceList_chronicleReferencelistBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance", "location", "reference_list_id"}, }, + { + ResourceName: "google_chronicle_reference_list.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/chronicle/resource_chronicle_retrohunt_generated_test.go b/google/services/chronicle/resource_chronicle_retrohunt_generated_test.go index 45f3ef67cf0..c946dc8b384 100644 --- a/google/services/chronicle/resource_chronicle_retrohunt_generated_test.go +++ b/google/services/chronicle/resource_chronicle_retrohunt_generated_test.go @@ -45,6 +45,12 @@ func TestAccChronicleRetrohunt_chronicleRetrohuntBasicExample(t *testing.T) { { Config: testAccChronicleRetrohunt_chronicleRetrohuntBasicExample(context), }, + { + ResourceName: "google_chronicle_retrohunt.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/chronicle/resource_chronicle_rule_deployment_generated_test.go b/google/services/chronicle/resource_chronicle_rule_deployment_generated_test.go index 3cce21b13df..75661aa3f2c 100644 --- a/google/services/chronicle/resource_chronicle_rule_deployment_generated_test.go +++ b/google/services/chronicle/resource_chronicle_rule_deployment_generated_test.go @@ -47,6 +47,12 @@ func TestAccChronicleRuleDeployment_chronicleRuledeploymentBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance", "location", "rule"}, }, + { + ResourceName: "google_chronicle_rule_deployment.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/chronicle/resource_chronicle_rule_generated_test.go b/google/services/chronicle/resource_chronicle_rule_generated_test.go index f29f9c69c5e..46c7ff750c2 100644 --- a/google/services/chronicle/resource_chronicle_rule_generated_test.go +++ b/google/services/chronicle/resource_chronicle_rule_generated_test.go @@ -47,6 +47,12 @@ func TestAccChronicleRule_chronicleRuleBasicExample(t *testing.T) { { Config: testAccChronicleRule_chronicleRuleBasicExample(context), }, + { + ResourceName: "google_chronicle_rule.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/chronicle/resource_chronicle_watchlist_generated_test.go b/google/services/chronicle/resource_chronicle_watchlist_generated_test.go index f5c5abaa1e0..71eebd167a7 100644 --- a/google/services/chronicle/resource_chronicle_watchlist_generated_test.go +++ b/google/services/chronicle/resource_chronicle_watchlist_generated_test.go @@ -53,6 +53,12 @@ func TestAccChronicleWatchlist_chronicleWatchlistBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance", "location"}, }, + { + ResourceName: "google_chronicle_watchlist.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudasset/resource_cloud_asset_folder_feed_generated_test.go b/google/services/cloudasset/resource_cloud_asset_folder_feed_generated_test.go index cb61054f092..8ed84d29c88 100644 --- a/google/services/cloudasset/resource_cloud_asset_folder_feed_generated_test.go +++ b/google/services/cloudasset/resource_cloud_asset_folder_feed_generated_test.go @@ -54,6 +54,12 @@ func TestAccCloudAssetFolderFeed_cloudAssetFolderFeedExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"billing_project", "feed_id", "folder"}, }, + { + ResourceName: "google_cloud_asset_folder_feed.folder_feed", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudasset/resource_cloud_asset_organization_feed_generated_test.go b/google/services/cloudasset/resource_cloud_asset_organization_feed_generated_test.go index c716d5cea7b..c534b7caf30 100644 --- a/google/services/cloudasset/resource_cloud_asset_organization_feed_generated_test.go +++ b/google/services/cloudasset/resource_cloud_asset_organization_feed_generated_test.go @@ -54,6 +54,12 @@ func TestAccCloudAssetOrganizationFeed_cloudAssetOrganizationFeedExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"billing_project", "feed_id", "org_id"}, }, + { + ResourceName: "google_cloud_asset_organization_feed.organization_feed", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudasset/resource_cloud_asset_project_feed_generated_test.go b/google/services/cloudasset/resource_cloud_asset_project_feed_generated_test.go index ef8c01a38d9..79db3780722 100644 --- a/google/services/cloudasset/resource_cloud_asset_project_feed_generated_test.go +++ b/google/services/cloudasset/resource_cloud_asset_project_feed_generated_test.go @@ -53,6 +53,12 @@ func TestAccCloudAssetProjectFeed_cloudAssetProjectFeedExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"billing_project", "feed_id"}, }, + { + ResourceName: "google_cloud_asset_project_feed.project_feed", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudbuild/resource_cloudbuild_bitbucket_server_config_generated_test.go b/google/services/cloudbuild/resource_cloudbuild_bitbucket_server_config_generated_test.go index 7eb97ba448e..f14e9d438b9 100644 --- a/google/services/cloudbuild/resource_cloudbuild_bitbucket_server_config_generated_test.go +++ b/google/services/cloudbuild/resource_cloudbuild_bitbucket_server_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccCloudBuildBitbucketServerConfig_cloudbuildBitbucketServerConfigExamp ImportStateVerify: true, ImportStateVerifyIgnore: []string{"config_id", "location"}, }, + { + ResourceName: "google_cloudbuild_bitbucket_server_config.bbs-config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudbuild/resource_cloudbuild_trigger_generated_test.go b/google/services/cloudbuild/resource_cloudbuild_trigger_generated_test.go index 043a3227a25..6bdcd7c438c 100644 --- a/google/services/cloudbuild/resource_cloudbuild_trigger_generated_test.go +++ b/google/services/cloudbuild/resource_cloudbuild_trigger_generated_test.go @@ -51,6 +51,12 @@ func TestAccCloudBuildTrigger_cloudbuildTriggerFilenameExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_cloudbuild_trigger.filename-trigger", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudbuildv2/resource_cloudbuildv2_connection_generated_test.go b/google/services/cloudbuildv2/resource_cloudbuildv2_connection_generated_test.go index 073dab99441..f47ebc7ab90 100644 --- a/google/services/cloudbuildv2/resource_cloudbuildv2_connection_generated_test.go +++ b/google/services/cloudbuildv2/resource_cloudbuildv2_connection_generated_test.go @@ -51,6 +51,12 @@ func TestAccCloudbuildv2Connection_cloudbuildv2ConnectionExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "name"}, }, + { + ResourceName: "google_cloudbuildv2_connection.my-connection", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudbuildv2/resource_cloudbuildv2_repository_generated_test.go b/google/services/cloudbuildv2/resource_cloudbuildv2_repository_generated_test.go index 5477e7319ad..c64ba231446 100644 --- a/google/services/cloudbuildv2/resource_cloudbuildv2_repository_generated_test.go +++ b/google/services/cloudbuildv2/resource_cloudbuildv2_repository_generated_test.go @@ -51,6 +51,12 @@ func TestAccCloudbuildv2Repository_cloudbuildv2RepositoryGheExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "name", "parent_connection"}, }, + { + ResourceName: "google_cloudbuildv2_repository.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/clouddeploy/resource_clouddeploy_automation_generated_test.go b/google/services/clouddeploy/resource_clouddeploy_automation_generated_test.go index bd4e13b6047..dcadc574181 100644 --- a/google/services/clouddeploy/resource_clouddeploy_automation_generated_test.go +++ b/google/services/clouddeploy/resource_clouddeploy_automation_generated_test.go @@ -53,6 +53,12 @@ func TestAccClouddeployAutomation_clouddeployAutomationBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "delivery_pipeline", "labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_clouddeploy_automation.b-automation", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/clouddeploy/resource_clouddeploy_custom_target_type_generated_test.go b/google/services/clouddeploy/resource_clouddeploy_custom_target_type_generated_test.go index 4a55aacb3c3..d6b58eb4e61 100644 --- a/google/services/clouddeploy/resource_clouddeploy_custom_target_type_generated_test.go +++ b/google/services/clouddeploy/resource_clouddeploy_custom_target_type_generated_test.go @@ -51,6 +51,12 @@ func TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_clouddeploy_custom_target_type.custom-target-type", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/clouddeploy/resource_clouddeploy_delivery_pipeline.go b/google/services/clouddeploy/resource_clouddeploy_delivery_pipeline.go index f93dd42d6ce..52c8eb5f533 100644 --- a/google/services/clouddeploy/resource_clouddeploy_delivery_pipeline.go +++ b/google/services/clouddeploy/resource_clouddeploy_delivery_pipeline.go @@ -66,16 +66,16 @@ func ResourceClouddeployDeliveryPipeline() *schema.Resource { RequiredForImport: true, Description: "The location for the resource", }, - "project": { - Type: schema.TypeString, - OptionalForImport: true, - Description: "The project for the resource", - }, "name": { Type: schema.TypeString, RequiredForImport: true, Description: "Name of the `DeliveryPipeline`. Format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.", }, + "project": { + Type: schema.TypeString, + OptionalForImport: true, + Description: "The project for the resource", + }, } }, }, diff --git a/google/services/clouddeploy/resource_clouddeploy_deploy_policy_generated_test.go b/google/services/clouddeploy/resource_clouddeploy_deploy_policy_generated_test.go index 06411db4708..155e995e208 100644 --- a/google/services/clouddeploy/resource_clouddeploy_deploy_policy_generated_test.go +++ b/google/services/clouddeploy/resource_clouddeploy_deploy_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccClouddeployDeployPolicy_clouddeployDeployPolicyBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_clouddeploy_deploy_policy.b-deploy-policy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/clouddeploy/resource_clouddeploy_target.go b/google/services/clouddeploy/resource_clouddeploy_target.go index 4ced08d9d97..a2ef061a10a 100644 --- a/google/services/clouddeploy/resource_clouddeploy_target.go +++ b/google/services/clouddeploy/resource_clouddeploy_target.go @@ -61,11 +61,6 @@ func ResourceClouddeployTarget() *schema.Resource { Version: 1, SchemaFunc: func() map[string]*schema.Schema { return map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - RequiredForImport: true, - Description: "Name of the `Target`. Format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.", - }, "project": { Type: schema.TypeString, OptionalForImport: true, @@ -76,6 +71,11 @@ func ResourceClouddeployTarget() *schema.Resource { RequiredForImport: true, Description: "The location for the resource", }, + "name": { + Type: schema.TypeString, + RequiredForImport: true, + Description: "Name of the `Target`. Format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.", + }, } }, }, diff --git a/google/services/cloudfunctions2/resource_cloudfunctions2_function_generated_test.go b/google/services/cloudfunctions2/resource_cloudfunctions2_function_generated_test.go index ec2258bd6fb..9c9e4f71de1 100644 --- a/google/services/cloudfunctions2/resource_cloudfunctions2_function_generated_test.go +++ b/google/services/cloudfunctions2/resource_cloudfunctions2_function_generated_test.go @@ -55,6 +55,12 @@ func TestAccCloudfunctions2function_cloudfunctions2BasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"build_config.0.source.0.storage_source.0.bucket", "build_config.0.source.0.storage_source.0.object", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_cloudfunctions2_function.function", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudrun/resource_cloud_run_domain_mapping_generated_test.go b/google/services/cloudrun/resource_cloud_run_domain_mapping_generated_test.go index 1d07eb8a6bc..231f31f77df 100644 --- a/google/services/cloudrun/resource_cloud_run_domain_mapping_generated_test.go +++ b/google/services/cloudrun/resource_cloud_run_domain_mapping_generated_test.go @@ -53,6 +53,12 @@ func TestAccCloudRunDomainMapping_cloudRunDomainMappingBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "metadata.0.annotations", "metadata.0.labels", "metadata.0.terraform_labels", "name"}, }, + { + ResourceName: "google_cloud_run_domain_mapping.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudrun/resource_cloud_run_service_generated_test.go b/google/services/cloudrun/resource_cloud_run_service_generated_test.go index a5c1c81af76..c3883ad1c33 100644 --- a/google/services/cloudrun/resource_cloud_run_service_generated_test.go +++ b/google/services/cloudrun/resource_cloud_run_service_generated_test.go @@ -53,6 +53,12 @@ func TestAccCloudRunService_cloudRunServiceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "metadata.0.annotations", "metadata.0.labels", "metadata.0.terraform_labels", "name"}, }, + { + ResourceName: "google_cloud_run_service.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go b/google/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go index ec51cd48f14..14819ddb36a 100644 --- a/google/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go +++ b/google/services/cloudrunv2/resource_cloud_run_v2_job_generated_test.go @@ -51,6 +51,12 @@ func TestAccCloudRunV2Job_cloudrunv2JobBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "deletion_protection", "labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_cloud_run_v2_job.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudrunv2/resource_cloud_run_v2_service_generated_test.go b/google/services/cloudrunv2/resource_cloud_run_v2_service_generated_test.go index d13b2c2f0b4..3787fe85625 100644 --- a/google/services/cloudrunv2/resource_cloud_run_v2_service_generated_test.go +++ b/google/services/cloudrunv2/resource_cloud_run_v2_service_generated_test.go @@ -51,6 +51,12 @@ func TestAccCloudRunV2Service_cloudrunv2ServiceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "deletion_protection", "labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_cloud_run_v2_service.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudrunv2/resource_cloud_run_v2_worker_pool_generated_test.go b/google/services/cloudrunv2/resource_cloud_run_v2_worker_pool_generated_test.go index 16e521f072d..611b9e56bd7 100644 --- a/google/services/cloudrunv2/resource_cloud_run_v2_worker_pool_generated_test.go +++ b/google/services/cloudrunv2/resource_cloud_run_v2_worker_pool_generated_test.go @@ -51,6 +51,12 @@ func TestAccCloudRunV2WorkerPool_cloudrunv2WorkerPoolBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "deletion_protection", "labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_cloud_run_v2_worker_pool.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudscheduler/resource_cloud_scheduler_job_generated_test.go b/google/services/cloudscheduler/resource_cloud_scheduler_job_generated_test.go index f7494dc81ec..346afb115af 100644 --- a/google/services/cloudscheduler/resource_cloud_scheduler_job_generated_test.go +++ b/google/services/cloudscheduler/resource_cloud_scheduler_job_generated_test.go @@ -52,6 +52,12 @@ func TestAccCloudSchedulerJob_schedulerJobPubsubExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_cloud_scheduler_job.job", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/cloudtasks/resource_cloud_tasks_queue_generated_test.go b/google/services/cloudtasks/resource_cloud_tasks_queue_generated_test.go index bfddc08f435..16caac59f35 100644 --- a/google/services/cloudtasks/resource_cloud_tasks_queue_generated_test.go +++ b/google/services/cloudtasks/resource_cloud_tasks_queue_generated_test.go @@ -51,6 +51,12 @@ func TestAccCloudTasksQueue_queueBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_cloud_tasks_queue.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/colab/resource_colab_notebook_execution_generated_test.go b/google/services/colab/resource_colab_notebook_execution_generated_test.go index 1c3f09373a3..5c789c67f54 100644 --- a/google/services/colab/resource_colab_notebook_execution_generated_test.go +++ b/google/services/colab/resource_colab_notebook_execution_generated_test.go @@ -54,6 +54,12 @@ func TestAccColabNotebookExecution_colabNotebookExecutionBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"direct_notebook_source", "direct_notebook_source.0.content", "location", "notebook_execution_job_id"}, }, + { + ResourceName: "google_colab_notebook_execution.notebook-execution", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/colab/resource_colab_runtime_generated_test.go b/google/services/colab/resource_colab_runtime_generated_test.go index 3e9dda40bb9..202eac086d6 100644 --- a/google/services/colab/resource_colab_runtime_generated_test.go +++ b/google/services/colab/resource_colab_runtime_generated_test.go @@ -51,6 +51,12 @@ func TestAccColabRuntime_colabRuntimeBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name"}, }, + { + ResourceName: "google_colab_runtime.runtime", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/colab/resource_colab_runtime_template_generated_test.go b/google/services/colab/resource_colab_runtime_template_generated_test.go index 0475ffd23d8..8cbfba49f8f 100644 --- a/google/services/colab/resource_colab_runtime_template_generated_test.go +++ b/google/services/colab/resource_colab_runtime_template_generated_test.go @@ -51,6 +51,12 @@ func TestAccColabRuntimeTemplate_colabRuntimeTemplateBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_colab_runtime_template.runtime-template", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/colab/resource_colab_schedule_generated_test.go b/google/services/colab/resource_colab_schedule_generated_test.go index c264fc41289..67e7a59c14d 100644 --- a/google/services/colab/resource_colab_schedule_generated_test.go +++ b/google/services/colab/resource_colab_schedule_generated_test.go @@ -55,6 +55,12 @@ func TestAccColabSchedule_colabScheduleBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_colab_schedule.schedule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/composer/resource_composer_user_workloads_config_map_generated_test.go b/google/services/composer/resource_composer_user_workloads_config_map_generated_test.go index e14288db1eb..1e66cbe2160 100644 --- a/google/services/composer/resource_composer_user_workloads_config_map_generated_test.go +++ b/google/services/composer/resource_composer_user_workloads_config_map_generated_test.go @@ -51,6 +51,12 @@ func TestAccComposerUserWorkloadsConfigMap_composerUserWorkloadsConfigMapBasicEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"environment", "region"}, }, + { + ResourceName: "google_composer_user_workloads_config_map.config_map", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_address_generated_test.go b/google/services/compute/resource_compute_address_generated_test.go index e26befce75d..c3dd8faa082 100644 --- a/google/services/compute/resource_compute_address_generated_test.go +++ b/google/services/compute/resource_compute_address_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeAddress_addressBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "network", "region", "subnetwork", "terraform_labels"}, }, + { + ResourceName: "google_compute_address.ip_address", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_autoscaler_generated_test.go b/google/services/compute/resource_compute_autoscaler_generated_test.go index 43de2a2b707..40ddcdcbe01 100644 --- a/google/services/compute/resource_compute_autoscaler_generated_test.go +++ b/google/services/compute/resource_compute_autoscaler_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeAutoscaler_autoscalerBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"target", "zone"}, }, + { + ResourceName: "google_compute_autoscaler.foobar", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_backend_bucket_generated_test.go b/google/services/compute/resource_compute_backend_bucket_generated_test.go index 8f9de43db5e..113cb50fae3 100644 --- a/google/services/compute/resource_compute_backend_bucket_generated_test.go +++ b/google/services/compute/resource_compute_backend_bucket_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeBackendBucket_backendBucketBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"params"}, }, + { + ResourceName: "google_compute_backend_bucket.image_backend", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_backend_service_generated_test.go b/google/services/compute/resource_compute_backend_service_generated_test.go index 1dae1d075b1..fb6a1cc55a2 100644 --- a/google/services/compute/resource_compute_backend_service_generated_test.go +++ b/google/services/compute/resource_compute_backend_service_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeBackendService_backendServiceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"iap.0.oauth2_client_secret", "params", "security_settings.0.aws_v4_authentication.0.access_key"}, }, + { + ResourceName: "google_compute_backend_service.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_disk_generated_test.go b/google/services/compute/resource_compute_disk_generated_test.go index c2ad9967444..ea6e91ae5a1 100644 --- a/google/services/compute/resource_compute_disk_generated_test.go +++ b/google/services/compute/resource_compute_disk_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeDisk_diskBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"architecture", "labels", "params", "snapshot", "source_storage_object", "terraform_labels", "type", "zone"}, }, + { + ResourceName: "google_compute_disk.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_disk_resource_policy_attachment_generated_test.go b/google/services/compute/resource_compute_disk_resource_policy_attachment_generated_test.go index 5dcb8096006..319ee020690 100644 --- a/google/services/compute/resource_compute_disk_resource_policy_attachment_generated_test.go +++ b/google/services/compute/resource_compute_disk_resource_policy_attachment_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeDiskResourcePolicyAttachment_diskResourcePolicyAttachmentBasi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"disk", "zone"}, }, + { + ResourceName: "google_compute_disk_resource_policy_attachment.attachment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_external_vpn_gateway_generated_test.go b/google/services/compute/resource_compute_external_vpn_gateway_generated_test.go index dc69671b663..d85f969e754 100644 --- a/google/services/compute/resource_compute_external_vpn_gateway_generated_test.go +++ b/google/services/compute/resource_compute_external_vpn_gateway_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeExternalVpnGateway_externalVpnGatewayExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "terraform_labels"}, }, + { + ResourceName: "google_compute_external_vpn_gateway.external_gateway", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_firewall_generated_test.go b/google/services/compute/resource_compute_firewall_generated_test.go index 518128cdf55..691329e7829 100644 --- a/google/services/compute/resource_compute_firewall_generated_test.go +++ b/google/services/compute/resource_compute_firewall_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeFirewall_firewallBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"network", "params"}, }, + { + ResourceName: "google_compute_firewall.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_firewall_policy_generated_test.go b/google/services/compute/resource_compute_firewall_policy_generated_test.go index 20f5f461f4d..13da0362971 100644 --- a/google/services/compute/resource_compute_firewall_policy_generated_test.go +++ b/google/services/compute/resource_compute_firewall_policy_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeFirewallPolicy_firewallPolicyExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_firewall_policy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_firewall_policy_rule_generated_test.go b/google/services/compute/resource_compute_firewall_policy_rule_generated_test.go index 3d719aed848..d4b3c578da3 100644 --- a/google/services/compute/resource_compute_firewall_policy_rule_generated_test.go +++ b/google/services/compute/resource_compute_firewall_policy_rule_generated_test.go @@ -54,6 +54,12 @@ func TestAccComputeFirewallPolicyRule_firewallPolicyRuleExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"firewall_policy"}, }, + { + ResourceName: "google_compute_firewall_policy_rule.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_firewall_policy_with_rules_generated_test.go b/google/services/compute/resource_compute_firewall_policy_with_rules_generated_test.go index 59b4fabf6f2..9138b314ac7 100644 --- a/google/services/compute/resource_compute_firewall_policy_with_rules_generated_test.go +++ b/google/services/compute/resource_compute_firewall_policy_with_rules_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeFirewallPolicyWithRules_computeFirewallPolicyWithRulesFullExa ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_firewall_policy_with_rules.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_forwarding_rule_generated_test.go b/google/services/compute/resource_compute_forwarding_rule_generated_test.go index 80b914e6032..b0bc1bb2ad9 100644 --- a/google/services/compute/resource_compute_forwarding_rule_generated_test.go +++ b/google/services/compute/resource_compute_forwarding_rule_generated_test.go @@ -53,6 +53,12 @@ func TestAccComputeForwardingRule_forwardingRuleExternallbByoipv6Example(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backend_service", "labels", "network", "no_automate_dns_zone", "port_range", "region", "subnetwork", "terraform_labels"}, }, + { + ResourceName: "google_compute_forwarding_rule.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_global_address_generated_test.go b/google/services/compute/resource_compute_global_address_generated_test.go index 0015b264f2a..615aef6dc89 100644 --- a/google/services/compute/resource_compute_global_address_generated_test.go +++ b/google/services/compute/resource_compute_global_address_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeGlobalAddress_globalAddressBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "network", "terraform_labels"}, }, + { + ResourceName: "google_compute_global_address.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_global_forwarding_rule_generated_test.go b/google/services/compute/resource_compute_global_forwarding_rule_generated_test.go index 61e1dc76faa..431b80f58d5 100644 --- a/google/services/compute/resource_compute_global_forwarding_rule_generated_test.go +++ b/google/services/compute/resource_compute_global_forwarding_rule_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeGlobalForwardingRule_globalForwardingRuleHttpExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "network", "no_automate_dns_zone", "port_range", "subnetwork", "target", "terraform_labels"}, }, + { + ResourceName: "google_compute_global_forwarding_rule.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_global_network_endpoint_group_generated_test.go b/google/services/compute/resource_compute_global_network_endpoint_group_generated_test.go index 3c8322615f3..afeccd1308e 100644 --- a/google/services/compute/resource_compute_global_network_endpoint_group_generated_test.go +++ b/google/services/compute/resource_compute_global_network_endpoint_group_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputeGlobalNetworkEndpointGroup_globalNetworkEndpointGroupExample( ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_global_network_endpoint_group.neg", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_ha_vpn_gateway_generated_test.go b/google/services/compute/resource_compute_ha_vpn_gateway_generated_test.go index 74915c39ee4..0db211b0b3e 100644 --- a/google/services/compute/resource_compute_ha_vpn_gateway_generated_test.go +++ b/google/services/compute/resource_compute_ha_vpn_gateway_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeHaVpnGateway_haVpnGatewayBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "network", "region", "terraform_labels"}, }, + { + ResourceName: "google_compute_ha_vpn_gateway.ha_gateway1", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_health_check_generated_test.go b/google/services/compute/resource_compute_health_check_generated_test.go index 373af37a1c4..4f5857a618d 100644 --- a/google/services/compute/resource_compute_health_check_generated_test.go +++ b/google/services/compute/resource_compute_health_check_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputeHealthCheck_healthCheckTcpExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_health_check.tcp-health-check", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_http_health_check_generated_test.go b/google/services/compute/resource_compute_http_health_check_generated_test.go index fe214820251..0d8f912ab78 100644 --- a/google/services/compute/resource_compute_http_health_check_generated_test.go +++ b/google/services/compute/resource_compute_http_health_check_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputeHttpHealthCheck_httpHealthCheckBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_http_health_check.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_https_health_check_generated_test.go b/google/services/compute/resource_compute_https_health_check_generated_test.go index f349bacfce8..24f71d014c9 100644 --- a/google/services/compute/resource_compute_https_health_check_generated_test.go +++ b/google/services/compute/resource_compute_https_health_check_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputeHttpsHealthCheck_httpsHealthCheckBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_https_health_check.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_image_generated_test.go b/google/services/compute/resource_compute_image_generated_test.go index 9b49cd627f3..18a1f1664db 100644 --- a/google/services/compute/resource_compute_image_generated_test.go +++ b/google/services/compute/resource_compute_image_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeImage_imageBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"image_encryption_key.0.raw_key", "image_encryption_key.0.rsa_encrypted_key", "labels", "raw_disk", "source_disk", "source_disk_encryption_key", "source_image", "source_image_encryption_key", "source_snapshot", "source_snapshot_encryption_key", "terraform_labels"}, }, + { + ResourceName: "google_compute_image.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_instance_group_named_port_generated_test.go b/google/services/compute/resource_compute_instance_group_named_port_generated_test.go index c4f980d6da1..902b2b04d6b 100644 --- a/google/services/compute/resource_compute_instance_group_named_port_generated_test.go +++ b/google/services/compute/resource_compute_instance_group_named_port_generated_test.go @@ -53,6 +53,12 @@ func TestAccComputeInstanceGroupNamedPort_instanceGroupNamedPortGkeExample(t *te ImportStateVerify: true, ImportStateVerifyIgnore: []string{"group", "zone"}, }, + { + ResourceName: "google_compute_instance_group_named_port.my_port", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_instance_settings_generated_test.go b/google/services/compute/resource_compute_instance_settings_generated_test.go index fbff1f7116c..cacb4a719d5 100644 --- a/google/services/compute/resource_compute_instance_settings_generated_test.go +++ b/google/services/compute/resource_compute_instance_settings_generated_test.go @@ -49,6 +49,12 @@ func TestAccComputeInstanceSettings_instanceSettingsBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"zone"}, }, + { + ResourceName: "google_compute_instance_settings.gce_instance_settings", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_instant_snapshot_generated_test.go b/google/services/compute/resource_compute_instant_snapshot_generated_test.go index 91a28af3e29..7b7b6c3a794 100644 --- a/google/services/compute/resource_compute_instant_snapshot_generated_test.go +++ b/google/services/compute/resource_compute_instant_snapshot_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeInstantSnapshot_instantSnapshotBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "source_disk", "terraform_labels", "zone"}, }, + { + ResourceName: "google_compute_instant_snapshot.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_interconnect_attachment_generated_test.go b/google/services/compute/resource_compute_interconnect_attachment_generated_test.go index d05fa96c83c..b3b7023be41 100644 --- a/google/services/compute/resource_compute_interconnect_attachment_generated_test.go +++ b/google/services/compute/resource_compute_interconnect_attachment_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeInterconnectAttachment_interconnectAttachmentBasicExample(t * ImportStateVerify: true, ImportStateVerifyIgnore: []string{"candidate_subnets", "labels", "region", "router", "subnet_length", "terraform_labels"}, }, + { + ResourceName: "google_compute_interconnect_attachment.on_prem", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_interconnect_attachment_group_generated_test.go b/google/services/compute/resource_compute_interconnect_attachment_group_generated_test.go index c9bb202e435..362beeb1de9 100644 --- a/google/services/compute/resource_compute_interconnect_attachment_group_generated_test.go +++ b/google/services/compute/resource_compute_interconnect_attachment_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeInterconnectAttachmentGroup_interconnectAttachmentGroupBasicE ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_interconnect_attachment_group.example-interconnect-attachment-group", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_interconnect_generated_test.go b/google/services/compute/resource_compute_interconnect_generated_test.go index 250952c0b68..79bbf3aa7b6 100644 --- a/google/services/compute/resource_compute_interconnect_generated_test.go +++ b/google/services/compute/resource_compute_interconnect_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeInterconnect_computeInterconnectBasicTestExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_compute_interconnect.example-interconnect", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_interconnect_group_generated_test.go b/google/services/compute/resource_compute_interconnect_group_generated_test.go index 97be310f422..219a9ee7e23 100644 --- a/google/services/compute/resource_compute_interconnect_group_generated_test.go +++ b/google/services/compute/resource_compute_interconnect_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeInterconnectGroup_interconnectGroupBasicExample(t *testing.T) ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_interconnect_group.example-interconnect-group", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_managed_ssl_certificate_generated_test.go b/google/services/compute/resource_compute_managed_ssl_certificate_generated_test.go index e1bff873cb8..9d6dc2f3582 100644 --- a/google/services/compute/resource_compute_managed_ssl_certificate_generated_test.go +++ b/google/services/compute/resource_compute_managed_ssl_certificate_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputeManagedSslCertificate_managedSslCertificateBasicExample(t *te ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_managed_ssl_certificate.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_network_attachment_generated_test.go b/google/services/compute/resource_compute_network_attachment_generated_test.go index cd09f77fe34..1b0e1221097 100644 --- a/google/services/compute/resource_compute_network_attachment_generated_test.go +++ b/google/services/compute/resource_compute_network_attachment_generated_test.go @@ -54,6 +54,12 @@ func TestAccComputeNetworkAttachment_networkAttachmentBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_network_attachment.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_network_endpoint_group_generated_test.go b/google/services/compute/resource_compute_network_endpoint_group_generated_test.go index f17bc54fd0e..c9cb88bcb10 100644 --- a/google/services/compute/resource_compute_network_endpoint_group_generated_test.go +++ b/google/services/compute/resource_compute_network_endpoint_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeNetworkEndpointGroup_networkEndpointGroupExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"network", "subnetwork", "zone"}, }, + { + ResourceName: "google_compute_network_endpoint_group.neg", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_network_firewall_policy_association_generated_test.go b/google/services/compute/resource_compute_network_firewall_policy_association_generated_test.go index f4c57c5553a..d58a0973fb9 100644 --- a/google/services/compute/resource_compute_network_firewall_policy_association_generated_test.go +++ b/google/services/compute/resource_compute_network_firewall_policy_association_generated_test.go @@ -53,6 +53,12 @@ func TestAccComputeNetworkFirewallPolicyAssociation_networkFirewallPolicyAssocia ImportStateVerify: true, ImportStateVerifyIgnore: []string{"firewall_policy"}, }, + { + ResourceName: "google_compute_network_firewall_policy_association.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_network_firewall_policy_generated_test.go b/google/services/compute/resource_compute_network_firewall_policy_generated_test.go index c3f4820b4b2..92ab1194ada 100644 --- a/google/services/compute/resource_compute_network_firewall_policy_generated_test.go +++ b/google/services/compute/resource_compute_network_firewall_policy_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputeNetworkFirewallPolicy_networkFirewallPolicyFullExample(t *tes ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_network_firewall_policy.policy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_network_firewall_policy_rule_generated_test.go b/google/services/compute/resource_compute_network_firewall_policy_rule_generated_test.go index 6d11bc6ad25..7f2f17e4310 100644 --- a/google/services/compute/resource_compute_network_firewall_policy_rule_generated_test.go +++ b/google/services/compute/resource_compute_network_firewall_policy_rule_generated_test.go @@ -55,6 +55,12 @@ func TestAccComputeNetworkFirewallPolicyRule_networkFirewallPolicyRuleExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"firewall_policy"}, }, + { + ResourceName: "google_compute_network_firewall_policy_rule.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_network_firewall_policy_with_rules_generated_test.go b/google/services/compute/resource_compute_network_firewall_policy_with_rules_generated_test.go index 23ed88663d1..db0c4b60715 100644 --- a/google/services/compute/resource_compute_network_firewall_policy_with_rules_generated_test.go +++ b/google/services/compute/resource_compute_network_firewall_policy_with_rules_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeNetworkFirewallPolicyWithRules_computeNetworkFirewallPolicyWi ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_network_firewall_policy_with_rules.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_network_generated_test.go b/google/services/compute/resource_compute_network_generated_test.go index cee0e7033ba..5ca21936e47 100644 --- a/google/services/compute/resource_compute_network_generated_test.go +++ b/google/services/compute/resource_compute_network_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeNetwork_networkBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"params"}, }, + { + ResourceName: "google_compute_network.vpc_network", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_network_peering_routes_config_generated_test.go b/google/services/compute/resource_compute_network_peering_routes_config_generated_test.go index e91dd3dc051..a785479161c 100644 --- a/google/services/compute/resource_compute_network_peering_routes_config_generated_test.go +++ b/google/services/compute/resource_compute_network_peering_routes_config_generated_test.go @@ -45,6 +45,12 @@ func TestAccComputeNetworkPeeringRoutesConfig_networkPeeringRoutesConfigBasicExa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"network"}, }, + { + ResourceName: "google_compute_network_peering_routes_config.peering_primary_routes", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_node_group_generated_test.go b/google/services/compute/resource_compute_node_group_generated_test.go index 09e15485fdb..e09b20d551a 100644 --- a/google/services/compute/resource_compute_node_group_generated_test.go +++ b/google/services/compute/resource_compute_node_group_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeNodeGroup_nodeGroupBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"initial_size", "node_template", "zone"}, }, + { + ResourceName: "google_compute_node_group.nodes", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_node_template_generated_test.go b/google/services/compute/resource_compute_node_template_generated_test.go index f187f26a7c1..3df409ba48f 100644 --- a/google/services/compute/resource_compute_node_template_generated_test.go +++ b/google/services/compute/resource_compute_node_template_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeNodeTemplate_nodeTemplateBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_node_template.template", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_packet_mirroring_generated_test.go b/google/services/compute/resource_compute_packet_mirroring_generated_test.go index cb49e842431..54ad9274714 100644 --- a/google/services/compute/resource_compute_packet_mirroring_generated_test.go +++ b/google/services/compute/resource_compute_packet_mirroring_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputePacketMirroring_computePacketMirroringFullExample(t *testing. ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_packet_mirroring.foobar", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_autoscaler_generated_test.go b/google/services/compute/resource_compute_region_autoscaler_generated_test.go index 0c2f94af390..67b5ea09599 100644 --- a/google/services/compute/resource_compute_region_autoscaler_generated_test.go +++ b/google/services/compute/resource_compute_region_autoscaler_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionAutoscaler_regionAutoscalerBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_region_autoscaler.foobar", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_backend_service_generated_test.go b/google/services/compute/resource_compute_region_backend_service_generated_test.go index 29a57d1848b..0ec53c9c6ff 100644 --- a/google/services/compute/resource_compute_region_backend_service_generated_test.go +++ b/google/services/compute/resource_compute_region_backend_service_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionBackendService_regionBackendServiceBasicExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"iap.0.oauth2_client_secret", "network", "region"}, }, + { + ResourceName: "google_compute_region_backend_service.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_disk_generated_test.go b/google/services/compute/resource_compute_region_disk_generated_test.go index cf39c3d6ec4..7c22bba1f1d 100644 --- a/google/services/compute/resource_compute_region_disk_generated_test.go +++ b/google/services/compute/resource_compute_region_disk_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionDisk_regionDiskBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "region", "snapshot", "terraform_labels", "type"}, }, + { + ResourceName: "google_compute_region_disk.regiondisk", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_disk_resource_policy_attachment_generated_test.go b/google/services/compute/resource_compute_region_disk_resource_policy_attachment_generated_test.go index 6db121f58cd..e1e890d4d9f 100644 --- a/google/services/compute/resource_compute_region_disk_resource_policy_attachment_generated_test.go +++ b/google/services/compute/resource_compute_region_disk_resource_policy_attachment_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionDiskResourcePolicyAttachment_regionDiskResourcePolicyAt ImportStateVerify: true, ImportStateVerifyIgnore: []string{"disk", "region"}, }, + { + ResourceName: "google_compute_region_disk_resource_policy_attachment.attachment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_health_check_generated_test.go b/google/services/compute/resource_compute_region_health_check_generated_test.go index a51a343744d..9ff21ce7138 100644 --- a/google/services/compute/resource_compute_region_health_check_generated_test.go +++ b/google/services/compute/resource_compute_region_health_check_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionHealthCheck_regionHealthCheckTcpExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_region_health_check.tcp-region-health-check", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_network_endpoint_generated_test.go b/google/services/compute/resource_compute_region_network_endpoint_generated_test.go index cc2ea7f5191..89892c37651 100644 --- a/google/services/compute/resource_compute_region_network_endpoint_generated_test.go +++ b/google/services/compute/resource_compute_region_network_endpoint_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionNetworkEndpoint_regionNetworkEndpointInternetIpPortExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region", "region_network_endpoint_group"}, }, + { + ResourceName: "google_compute_region_network_endpoint.region-internet-ip-port-endpoint", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_network_endpoint_group_generated_test.go b/google/services/compute/resource_compute_region_network_endpoint_group_generated_test.go index da5b4c40177..6e1fbc58473 100644 --- a/google/services/compute/resource_compute_region_network_endpoint_group_generated_test.go +++ b/google/services/compute/resource_compute_region_network_endpoint_group_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupFunction ImportStateVerify: true, ImportStateVerifyIgnore: []string{"network", "psc_data.0.producer_port", "region", "subnetwork"}, }, + { + ResourceName: "google_compute_region_network_endpoint_group.function_neg", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_network_firewall_policy_association_generated_test.go b/google/services/compute/resource_compute_region_network_firewall_policy_association_generated_test.go index fdc62455635..8bfa3dd08bf 100644 --- a/google/services/compute/resource_compute_region_network_firewall_policy_association_generated_test.go +++ b/google/services/compute/resource_compute_region_network_firewall_policy_association_generated_test.go @@ -54,6 +54,12 @@ func TestAccComputeRegionNetworkFirewallPolicyAssociation_regionNetworkFirewallP ImportStateVerify: true, ImportStateVerifyIgnore: []string{"firewall_policy", "region"}, }, + { + ResourceName: "google_compute_region_network_firewall_policy_association.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_network_firewall_policy_generated_test.go b/google/services/compute/resource_compute_region_network_firewall_policy_generated_test.go index c463a626e3a..407dc5487bf 100644 --- a/google/services/compute/resource_compute_region_network_firewall_policy_generated_test.go +++ b/google/services/compute/resource_compute_region_network_firewall_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionNetworkFirewallPolicy_regionNetworkFirewallPolicyFullEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_region_network_firewall_policy.policy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_network_firewall_policy_rule_generated_test.go b/google/services/compute/resource_compute_region_network_firewall_policy_rule_generated_test.go index 1ef2e3e1008..12120aafefc 100644 --- a/google/services/compute/resource_compute_region_network_firewall_policy_rule_generated_test.go +++ b/google/services/compute/resource_compute_region_network_firewall_policy_rule_generated_test.go @@ -56,6 +56,12 @@ func TestAccComputeRegionNetworkFirewallPolicyRule_regionNetworkFirewallPolicyRu ImportStateVerify: true, ImportStateVerifyIgnore: []string{"firewall_policy", "region"}, }, + { + ResourceName: "google_compute_region_network_firewall_policy_rule.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_network_firewall_policy_with_rules_generated_test.go b/google/services/compute/resource_compute_region_network_firewall_policy_with_rules_generated_test.go index e3f8efbc5bd..b6708e09d61 100644 --- a/google/services/compute/resource_compute_region_network_firewall_policy_with_rules_generated_test.go +++ b/google/services/compute/resource_compute_region_network_firewall_policy_with_rules_generated_test.go @@ -53,6 +53,12 @@ func TestAccComputeRegionNetworkFirewallPolicyWithRules_computeRegionNetworkFire ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_region_network_firewall_policy_with_rules.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_security_policy_generated_test.go b/google/services/compute/resource_compute_region_security_policy_generated_test.go index 534382e6b49..fac111f2b5d 100644 --- a/google/services/compute/resource_compute_region_security_policy_generated_test.go +++ b/google/services/compute/resource_compute_region_security_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionSecurityPolicy_regionSecurityPolicyBasicExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_region_security_policy.region-sec-policy-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_security_policy_rule_generated_test.go b/google/services/compute/resource_compute_region_security_policy_rule_generated_test.go index 459020b8da4..7dcb701397f 100644 --- a/google/services/compute/resource_compute_region_security_policy_rule_generated_test.go +++ b/google/services/compute/resource_compute_region_security_policy_rule_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionSecurityPolicyRule_regionSecurityPolicyRuleBasicExample ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region", "security_policy"}, }, + { + ResourceName: "google_compute_region_security_policy_rule.policy_rule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_ssl_certificate_generated_test.go b/google/services/compute/resource_compute_region_ssl_certificate_generated_test.go index 745a2ef2025..9dda13373a8 100644 --- a/google/services/compute/resource_compute_region_ssl_certificate_generated_test.go +++ b/google/services/compute/resource_compute_region_ssl_certificate_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeRegionSslCertificate_regionSslCertificateBasicExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name_prefix", "private_key", "region"}, }, + { + ResourceName: "google_compute_region_ssl_certificate.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_target_http_proxy_generated_test.go b/google/services/compute/resource_compute_region_target_http_proxy_generated_test.go index 17768af4551..6963d8fdcd6 100644 --- a/google/services/compute/resource_compute_region_target_http_proxy_generated_test.go +++ b/google/services/compute/resource_compute_region_target_http_proxy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionTargetHttpProxy_regionTargetHttpProxyBasicExample(t *te ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region", "url_map"}, }, + { + ResourceName: "google_compute_region_target_http_proxy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_target_https_proxy_generated_test.go b/google/services/compute/resource_compute_region_target_https_proxy_generated_test.go index c7aef2c8eb4..096e99709cb 100644 --- a/google/services/compute/resource_compute_region_target_https_proxy_generated_test.go +++ b/google/services/compute/resource_compute_region_target_https_proxy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionTargetHttpsProxy_regionTargetHttpsProxyBasicExample(t * ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region", "server_tls_policy", "ssl_policy", "url_map"}, }, + { + ResourceName: "google_compute_region_target_https_proxy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_target_tcp_proxy_generated_test.go b/google/services/compute/resource_compute_region_target_tcp_proxy_generated_test.go index 68b51c83a71..37f470f4857 100644 --- a/google/services/compute/resource_compute_region_target_tcp_proxy_generated_test.go +++ b/google/services/compute/resource_compute_region_target_tcp_proxy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionTargetTcpProxy_regionTargetTcpProxyBasicExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backend_service", "region"}, }, + { + ResourceName: "google_compute_region_target_tcp_proxy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_region_url_map_generated_test.go b/google/services/compute/resource_compute_region_url_map_generated_test.go index cfc95616c7c..069d31f94c8 100644 --- a/google/services/compute/resource_compute_region_url_map_generated_test.go +++ b/google/services/compute/resource_compute_region_url_map_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRegionUrlMap_regionUrlMapBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"default_service", "region"}, }, + { + ResourceName: "google_compute_region_url_map.regionurlmap", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_reservation_generated_test.go b/google/services/compute/resource_compute_reservation_generated_test.go index 9598d376f9a..8c794694186 100644 --- a/google/services/compute/resource_compute_reservation_generated_test.go +++ b/google/services/compute/resource_compute_reservation_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeReservation_reservationBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"delete_after_duration", "share_settings", "zone"}, }, + { + ResourceName: "google_compute_reservation.gce_reservation", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_resize_request_generated_test.go b/google/services/compute/resource_compute_resize_request_generated_test.go index 3906887004f..85619897aea 100644 --- a/google/services/compute/resource_compute_resize_request_generated_test.go +++ b/google/services/compute/resource_compute_resize_request_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeResizeRequest_computeMigResizeRequestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance_group_manager", "zone"}, }, + { + ResourceName: "google_compute_resize_request.a3_resize_request", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_resource_policy_attachment_generated_test.go b/google/services/compute/resource_compute_resource_policy_attachment_generated_test.go index 14e85357239..de89bd294e8 100644 --- a/google/services/compute/resource_compute_resource_policy_attachment_generated_test.go +++ b/google/services/compute/resource_compute_resource_policy_attachment_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeResourcePolicyAttachment_computeResourcePolicyAttachmentBasic ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance", "zone"}, }, + { + ResourceName: "google_compute_resource_policy_attachment.attachment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_resource_policy_generated_test.go b/google/services/compute/resource_compute_resource_policy_generated_test.go index 7c94885a9d2..9852d0e7eeb 100644 --- a/google/services/compute/resource_compute_resource_policy_generated_test.go +++ b/google/services/compute/resource_compute_resource_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeResourcePolicy_resourcePolicyBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_resource_policy.foo", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_route_generated_test.go b/google/services/compute/resource_compute_route_generated_test.go index d30de9bbc16..1942ae55386 100644 --- a/google/services/compute/resource_compute_route_generated_test.go +++ b/google/services/compute/resource_compute_route_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRoute_routeBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"network", "next_hop_instance", "next_hop_vpn_tunnel", "params"}, }, + { + ResourceName: "google_compute_route.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_router_generated_test.go b/google/services/compute/resource_compute_router_generated_test.go index 0e318511445..2796bc45049 100644 --- a/google/services/compute/resource_compute_router_generated_test.go +++ b/google/services/compute/resource_compute_router_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRouter_routerBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"advertisedIpRanges", "md5_authentication_keys", "network", "region"}, }, + { + ResourceName: "google_compute_router.foobar", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_router_route_policy_generated_test.go b/google/services/compute/resource_compute_router_route_policy_generated_test.go index e0e8161312e..826e2b3cb2d 100644 --- a/google/services/compute/resource_compute_router_route_policy_generated_test.go +++ b/google/services/compute/resource_compute_router_route_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeRouterRoutePolicy_routerRoutePolicyExportExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region", "router"}, }, + { + ResourceName: "google_compute_router_route_policy.rp-export", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_security_policy_rule_generated_test.go b/google/services/compute/resource_compute_security_policy_rule_generated_test.go index 722827f5770..269be61740d 100644 --- a/google/services/compute/resource_compute_security_policy_rule_generated_test.go +++ b/google/services/compute/resource_compute_security_policy_rule_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeSecurityPolicyRule_securityPolicyRuleBasicExample(t *testing. ImportStateVerify: true, ImportStateVerifyIgnore: []string{"security_policy"}, }, + { + ResourceName: "google_compute_security_policy_rule.policy_rule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_service_attachment_generated_test.go b/google/services/compute/resource_compute_service_attachment_generated_test.go index 5866fa7e154..10714fa2ee1 100644 --- a/google/services/compute/resource_compute_service_attachment_generated_test.go +++ b/google/services/compute/resource_compute_service_attachment_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeServiceAttachment_serviceAttachmentBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_compute_service_attachment.psc_ilb_service_attachment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_snapshot_generated_test.go b/google/services/compute/resource_compute_snapshot_generated_test.go index 4d4eeea6b71..bfa9880eea5 100644 --- a/google/services/compute/resource_compute_snapshot_generated_test.go +++ b/google/services/compute/resource_compute_snapshot_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeSnapshot_snapshotBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "snapshot_encryption_key.0.raw_key", "snapshot_encryption_key.0.rsa_encrypted_key", "source_disk", "source_disk_encryption_key", "terraform_labels", "zone"}, }, + { + ResourceName: "google_compute_snapshot.snapshot", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_ssl_certificate_generated_test.go b/google/services/compute/resource_compute_ssl_certificate_generated_test.go index f64e8469597..a53a7603d2e 100644 --- a/google/services/compute/resource_compute_ssl_certificate_generated_test.go +++ b/google/services/compute/resource_compute_ssl_certificate_generated_test.go @@ -52,6 +52,12 @@ func TestAccComputeSslCertificate_sslCertificateBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name_prefix", "private_key"}, }, + { + ResourceName: "google_compute_ssl_certificate.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_ssl_policy_generated_test.go b/google/services/compute/resource_compute_ssl_policy_generated_test.go index 45cc0594d47..fda6402e62d 100644 --- a/google/services/compute/resource_compute_ssl_policy_generated_test.go +++ b/google/services/compute/resource_compute_ssl_policy_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputeSslPolicy_sslPolicyBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_ssl_policy.prod-ssl-policy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_subnetwork_generated_test.go b/google/services/compute/resource_compute_subnetwork_generated_test.go index 3c253c0a26d..78bca0f68a5 100644 --- a/google/services/compute/resource_compute_subnetwork_generated_test.go +++ b/google/services/compute/resource_compute_subnetwork_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeSubnetwork_subnetworkBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"ip_collection", "network", "params", "region", "reserved_internal_range"}, }, + { + ResourceName: "google_compute_subnetwork.network-with-private-secondary-ip-ranges", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_target_grpc_proxy_generated_test.go b/google/services/compute/resource_compute_target_grpc_proxy_generated_test.go index 5bd5b9863e5..7482a243188 100644 --- a/google/services/compute/resource_compute_target_grpc_proxy_generated_test.go +++ b/google/services/compute/resource_compute_target_grpc_proxy_generated_test.go @@ -50,6 +50,12 @@ func TestAccComputeTargetGrpcProxy_targetGrpcProxyBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_compute_target_grpc_proxy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_target_http_proxy_generated_test.go b/google/services/compute/resource_compute_target_http_proxy_generated_test.go index bb14a175ac9..7f2bc041ec0 100644 --- a/google/services/compute/resource_compute_target_http_proxy_generated_test.go +++ b/google/services/compute/resource_compute_target_http_proxy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeTargetHttpProxy_targetHttpProxyBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"url_map"}, }, + { + ResourceName: "google_compute_target_http_proxy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_target_https_proxy_generated_test.go b/google/services/compute/resource_compute_target_https_proxy_generated_test.go index e362e26b46b..e68161d144d 100644 --- a/google/services/compute/resource_compute_target_https_proxy_generated_test.go +++ b/google/services/compute/resource_compute_target_https_proxy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeTargetHttpsProxy_targetHttpsProxyBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"server_tls_policy", "ssl_policy", "url_map"}, }, + { + ResourceName: "google_compute_target_https_proxy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_target_instance_generated_test.go b/google/services/compute/resource_compute_target_instance_generated_test.go index a2719e3ed65..2e31a649a54 100644 --- a/google/services/compute/resource_compute_target_instance_generated_test.go +++ b/google/services/compute/resource_compute_target_instance_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeTargetInstance_targetInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance", "zone"}, }, + { + ResourceName: "google_compute_target_instance.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_target_ssl_proxy_generated_test.go b/google/services/compute/resource_compute_target_ssl_proxy_generated_test.go index 09bb2c71d95..ce84bb66107 100644 --- a/google/services/compute/resource_compute_target_ssl_proxy_generated_test.go +++ b/google/services/compute/resource_compute_target_ssl_proxy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeTargetSslProxy_targetSslProxyBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backend_service", "ssl_policy"}, }, + { + ResourceName: "google_compute_target_ssl_proxy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_target_tcp_proxy_generated_test.go b/google/services/compute/resource_compute_target_tcp_proxy_generated_test.go index a05049fa8f8..d21c46a36b1 100644 --- a/google/services/compute/resource_compute_target_tcp_proxy_generated_test.go +++ b/google/services/compute/resource_compute_target_tcp_proxy_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeTargetTcpProxy_targetTcpProxyBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backend_service"}, }, + { + ResourceName: "google_compute_target_tcp_proxy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_url_map_generated_test.go b/google/services/compute/resource_compute_url_map_generated_test.go index 7b223b532ec..7ce0c9b41ec 100644 --- a/google/services/compute/resource_compute_url_map_generated_test.go +++ b/google/services/compute/resource_compute_url_map_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeUrlMap_urlMapBucketAndServiceExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"default_service"}, }, + { + ResourceName: "google_compute_url_map.urlmap", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_vpn_gateway_generated_test.go b/google/services/compute/resource_compute_vpn_gateway_generated_test.go index 2edee7258d4..42f300d60f7 100644 --- a/google/services/compute/resource_compute_vpn_gateway_generated_test.go +++ b/google/services/compute/resource_compute_vpn_gateway_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeVpnGateway_targetVpnGatewayBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"network", "region"}, }, + { + ResourceName: "google_compute_vpn_gateway.target_gateway", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/compute/resource_compute_vpn_tunnel_generated_test.go b/google/services/compute/resource_compute_vpn_tunnel_generated_test.go index 2d547d5a23c..fd2010bed5d 100644 --- a/google/services/compute/resource_compute_vpn_tunnel_generated_test.go +++ b/google/services/compute/resource_compute_vpn_tunnel_generated_test.go @@ -51,6 +51,12 @@ func TestAccComputeVpnTunnel_vpnTunnelBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "peer_external_gateway", "peer_gcp_gateway", "region", "router", "shared_secret", "target_vpn_gateway", "terraform_labels", "vpn_gateway"}, }, + { + ResourceName: "google_compute_vpn_tunnel.tunnel1", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/contactcenterinsights/resource_contact_center_insights_analysis_rule_generated_test.go b/google/services/contactcenterinsights/resource_contact_center_insights_analysis_rule_generated_test.go index 89f1b9c6bf4..3f11d347bf1 100644 --- a/google/services/contactcenterinsights/resource_contact_center_insights_analysis_rule_generated_test.go +++ b/google/services/contactcenterinsights/resource_contact_center_insights_analysis_rule_generated_test.go @@ -52,6 +52,12 @@ func TestAccContactCenterInsightsAnalysisRule_contactCenterInsightsAnalysisRuleB ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_contact_center_insights_analysis_rule.analysis_rule_basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/contactcenterinsights/resource_contact_center_insights_view_generated_test.go b/google/services/contactcenterinsights/resource_contact_center_insights_view_generated_test.go index 0f3db4eedc0..0a6dd8029ff 100644 --- a/google/services/contactcenterinsights/resource_contact_center_insights_view_generated_test.go +++ b/google/services/contactcenterinsights/resource_contact_center_insights_view_generated_test.go @@ -51,6 +51,12 @@ func TestAccContactCenterInsightsView_contactCenterInsightsViewBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_contact_center_insights_view.basic_view", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/containeranalysis/resource_container_analysis_note_generated_test.go b/google/services/containeranalysis/resource_container_analysis_note_generated_test.go index d10b8dd985c..8d5efd5d5af 100644 --- a/google/services/containeranalysis/resource_container_analysis_note_generated_test.go +++ b/google/services/containeranalysis/resource_container_analysis_note_generated_test.go @@ -50,6 +50,12 @@ func TestAccContainerAnalysisNote_containerAnalysisNoteBasicExample(t *testing.T ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_container_analysis_note.note", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/containerattached/resource_container_attached_cluster_generated_test.go b/google/services/containerattached/resource_container_attached_cluster_generated_test.go index 3750810d659..91fefa61ea0 100644 --- a/google/services/containerattached/resource_container_attached_cluster_generated_test.go +++ b/google/services/containerattached/resource_container_attached_cluster_generated_test.go @@ -51,6 +51,12 @@ func TestAccContainerAttachedCluster_containerAttachedClusterBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location"}, }, + { + ResourceName: "google_container_attached_cluster.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/containeraws/resource_container_aws_cluster.go b/google/services/containeraws/resource_container_aws_cluster.go index 1b1244a0e73..1ac977b50f0 100644 --- a/google/services/containeraws/resource_container_aws_cluster.go +++ b/google/services/containeraws/resource_container_aws_cluster.go @@ -65,16 +65,16 @@ func ResourceContainerAwsCluster() *schema.Resource { RequiredForImport: true, Description: "The name of this resource.", }, - "location": { - Type: schema.TypeString, - RequiredForImport: true, - Description: "The location for the resource", - }, "project": { Type: schema.TypeString, OptionalForImport: true, Description: "The project for the resource", }, + "location": { + Type: schema.TypeString, + RequiredForImport: true, + Description: "The location for the resource", + }, } }, }, diff --git a/google/services/containerazure/resource_container_azure_node_pool.go b/google/services/containerazure/resource_container_azure_node_pool.go index 8d26379a8e8..21bd2fae7fa 100644 --- a/google/services/containerazure/resource_container_azure_node_pool.go +++ b/google/services/containerazure/resource_container_azure_node_pool.go @@ -60,11 +60,6 @@ func ResourceContainerAzureNodePool() *schema.Resource { Version: 1, SchemaFunc: func() map[string]*schema.Schema { return map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - RequiredForImport: true, - Description: "The name of this resource.", - }, "cluster": { Type: schema.TypeString, RequiredForImport: true, @@ -75,6 +70,11 @@ func ResourceContainerAzureNodePool() *schema.Resource { RequiredForImport: true, Description: "The location for the resource", }, + "name": { + Type: schema.TypeString, + RequiredForImport: true, + Description: "The name of this resource.", + }, "project": { Type: schema.TypeString, OptionalForImport: true, diff --git a/google/services/corebilling/resource_billing_project_info_generated_test.go b/google/services/corebilling/resource_billing_project_info_generated_test.go index 4bd3af370af..2ecb21eab99 100644 --- a/google/services/corebilling/resource_billing_project_info_generated_test.go +++ b/google/services/corebilling/resource_billing_project_info_generated_test.go @@ -48,6 +48,12 @@ func TestAccCoreBillingProjectInfo_billingProjectInfoBasicExample(t *testing.T) { Config: testAccCoreBillingProjectInfo_billingProjectInfoBasicExample(context), }, + { + ResourceName: "google_billing_project_info.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/databasemigrationservice/resource_database_migration_service_connection_profile_generated_test.go b/google/services/databasemigrationservice/resource_database_migration_service_connection_profile_generated_test.go index 017b48210c3..bd27311685a 100644 --- a/google/services/databasemigrationservice/resource_database_migration_service_connection_profile_generated_test.go +++ b/google/services/databasemigrationservice/resource_database_migration_service_connection_profile_generated_test.go @@ -51,6 +51,12 @@ func TestAccDatabaseMigrationServiceConnectionProfile_databaseMigrationServiceCo ImportStateVerify: true, ImportStateVerifyIgnore: []string{"connection_profile_id", "labels", "location", "mysql.0.password", "mysql.0.ssl.0.ca_certificate", "mysql.0.ssl.0.client_certificate", "mysql.0.ssl.0.client_key", "terraform_labels"}, }, + { + ResourceName: "google_database_migration_service_connection_profile.cloudsqlprofile", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/databasemigrationservice/resource_database_migration_service_migration_job_generated_test.go b/google/services/databasemigrationservice/resource_database_migration_service_migration_job_generated_test.go index d29c6a54310..20aec83ce57 100644 --- a/google/services/databasemigrationservice/resource_database_migration_service_migration_job_generated_test.go +++ b/google/services/databasemigrationservice/resource_database_migration_service_migration_job_generated_test.go @@ -51,6 +51,12 @@ func TestAccDatabaseMigrationServiceMigrationJob_databaseMigrationServiceMigrati ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "migration_job_id", "terraform_labels"}, }, + { + ResourceName: "google_database_migration_service_migration_job.mysqltomysql", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/databasemigrationservice/resource_database_migration_service_private_connection_generated_test.go b/google/services/databasemigrationservice/resource_database_migration_service_private_connection_generated_test.go index 5a601cc21b8..490bca5452f 100644 --- a/google/services/databasemigrationservice/resource_database_migration_service_private_connection_generated_test.go +++ b/google/services/databasemigrationservice/resource_database_migration_service_private_connection_generated_test.go @@ -51,6 +51,12 @@ func TestAccDatabaseMigrationServicePrivateConnection_databaseMigrationServicePr ImportStateVerify: true, ImportStateVerifyIgnore: []string{"create_without_validation", "labels", "location", "private_connection_id", "terraform_labels"}, }, + { + ResourceName: "google_database_migration_service_private_connection.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datacatalog/resource_data_catalog_entry_generated_test.go b/google/services/datacatalog/resource_data_catalog_entry_generated_test.go index e8488516040..7abe7a87adb 100644 --- a/google/services/datacatalog/resource_data_catalog_entry_generated_test.go +++ b/google/services/datacatalog/resource_data_catalog_entry_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataCatalogEntry_dataCatalogEntryBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"entry_group", "entry_id"}, }, + { + ResourceName: "google_data_catalog_entry.basic_entry", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datacatalog/resource_data_catalog_entry_group_generated_test.go b/google/services/datacatalog/resource_data_catalog_entry_group_generated_test.go index 2b76e2bb816..1eb15a1c511 100644 --- a/google/services/datacatalog/resource_data_catalog_entry_group_generated_test.go +++ b/google/services/datacatalog/resource_data_catalog_entry_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataCatalogEntryGroup_dataCatalogEntryGroupBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"entry_group_id", "region"}, }, + { + ResourceName: "google_data_catalog_entry_group.basic_entry_group", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datacatalog/resource_data_catalog_policy_tag_generated_test.go b/google/services/datacatalog/resource_data_catalog_policy_tag_generated_test.go index 87dc60dfce5..35df406241a 100644 --- a/google/services/datacatalog/resource_data_catalog_policy_tag_generated_test.go +++ b/google/services/datacatalog/resource_data_catalog_policy_tag_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataCatalogPolicyTag_dataCatalogTaxonomiesPolicyTagBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"taxonomy"}, }, + { + ResourceName: "google_data_catalog_policy_tag.basic_policy_tag", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datacatalog/resource_data_catalog_tag_generated_test.go b/google/services/datacatalog/resource_data_catalog_tag_generated_test.go index 70d31bf7e93..66cf6b28d1e 100644 --- a/google/services/datacatalog/resource_data_catalog_tag_generated_test.go +++ b/google/services/datacatalog/resource_data_catalog_tag_generated_test.go @@ -52,6 +52,12 @@ func TestAccDataCatalogTag_dataCatalogEntryTagBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent"}, }, + { + ResourceName: "google_data_catalog_tag.basic_tag", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datacatalog/resource_data_catalog_tag_template_generated_test.go b/google/services/datacatalog/resource_data_catalog_tag_template_generated_test.go index 279e03743f7..fc0b38909aa 100644 --- a/google/services/datacatalog/resource_data_catalog_tag_template_generated_test.go +++ b/google/services/datacatalog/resource_data_catalog_tag_template_generated_test.go @@ -52,6 +52,12 @@ func TestAccDataCatalogTagTemplate_dataCatalogTagTemplateBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"force_delete", "region", "tag_template_id"}, }, + { + ResourceName: "google_data_catalog_tag_template.basic_tag_template", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datacatalog/resource_data_catalog_taxonomy_generated_test.go b/google/services/datacatalog/resource_data_catalog_taxonomy_generated_test.go index 25013a348eb..aaa3c5f7d82 100644 --- a/google/services/datacatalog/resource_data_catalog_taxonomy_generated_test.go +++ b/google/services/datacatalog/resource_data_catalog_taxonomy_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataCatalogTaxonomy_dataCatalogTaxonomyBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_data_catalog_taxonomy.basic_taxonomy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datafusion/resource_data_fusion_instance_generated_test.go b/google/services/datafusion/resource_data_fusion_instance_generated_test.go index 9c46d7b1eda..1f84646adf9 100644 --- a/google/services/datafusion/resource_data_fusion_instance_generated_test.go +++ b/google/services/datafusion/resource_data_fusion_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccDataFusionInstance_dataFusionInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "network_config.0.private_service_connect_config.0.unreachable_cidr_block", "region", "tags", "terraform_labels"}, }, + { + ResourceName: "google_data_fusion_instance.basic_instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datalossprevention/resource_data_loss_prevention_deidentify_template_generated_test.go b/google/services/datalossprevention/resource_data_loss_prevention_deidentify_template_generated_test.go index 0c91e0fd1dc..589909aa04a 100644 --- a/google/services/datalossprevention/resource_data_loss_prevention_deidentify_template_generated_test.go +++ b/google/services/datalossprevention/resource_data_loss_prevention_deidentify_template_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplateBasicExamp ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent", "template_id"}, }, + { + ResourceName: "google_data_loss_prevention_deidentify_template.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datalossprevention/resource_data_loss_prevention_discovery_config_generated_test.go b/google/services/datalossprevention/resource_data_loss_prevention_discovery_config_generated_test.go index e6eb6ed9a01..c785e5eacaf 100644 --- a/google/services/datalossprevention/resource_data_loss_prevention_discovery_config_generated_test.go +++ b/google/services/datalossprevention/resource_data_loss_prevention_discovery_config_generated_test.go @@ -55,6 +55,12 @@ func TestAccDataLossPreventionDiscoveryConfig_dlpDiscoveryConfigOrgFolderPausedE ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "parent"}, }, + { + ResourceName: "google_data_loss_prevention_discovery_config.org_folder_paused", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datalossprevention/resource_data_loss_prevention_inspect_template_generated_test.go b/google/services/datalossprevention/resource_data_loss_prevention_inspect_template_generated_test.go index d7ff2bb3796..7e55685515b 100644 --- a/google/services/datalossprevention/resource_data_loss_prevention_inspect_template_generated_test.go +++ b/google/services/datalossprevention/resource_data_loss_prevention_inspect_template_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataLossPreventionInspectTemplate_dlpInspectTemplateBasicExample(t * ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent", "template_id"}, }, + { + ResourceName: "google_data_loss_prevention_inspect_template.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datalossprevention/resource_data_loss_prevention_job_trigger_generated_test.go b/google/services/datalossprevention/resource_data_loss_prevention_job_trigger_generated_test.go index da36840771b..b6820863926 100644 --- a/google/services/datalossprevention/resource_data_loss_prevention_job_trigger_generated_test.go +++ b/google/services/datalossprevention/resource_data_loss_prevention_job_trigger_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataLossPreventionJobTrigger_dlpJobTriggerBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent", "trigger_id"}, }, + { + ResourceName: "google_data_loss_prevention_job_trigger.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datalossprevention/resource_data_loss_prevention_stored_info_type_generated_test.go b/google/services/datalossprevention/resource_data_loss_prevention_stored_info_type_generated_test.go index 8130eb9b8ee..9b46265a6db 100644 --- a/google/services/datalossprevention/resource_data_loss_prevention_stored_info_type_generated_test.go +++ b/google/services/datalossprevention/resource_data_loss_prevention_stored_info_type_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataLossPreventionStoredInfoType_dlpStoredInfoTypeBasicExample(t *te ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent", "stored_info_type_id"}, }, + { + ResourceName: "google_data_loss_prevention_stored_info_type.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datapipeline/resource_data_pipeline_pipeline_generated_test.go b/google/services/datapipeline/resource_data_pipeline_pipeline_generated_test.go index d7102982f6f..a4e4084b37a 100644 --- a/google/services/datapipeline/resource_data_pipeline_pipeline_generated_test.go +++ b/google/services/datapipeline/resource_data_pipeline_pipeline_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataPipelinePipeline_dataPipelinePipelineExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region", "schedule_info.0.next_job_time"}, }, + { + ResourceName: "google_data_pipeline_pipeline.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_aspect_type_generated_test.go b/google/services/dataplex/resource_dataplex_aspect_type_generated_test.go index dab12fddbd9..ff659dcea68 100644 --- a/google/services/dataplex/resource_dataplex_aspect_type_generated_test.go +++ b/google/services/dataplex/resource_dataplex_aspect_type_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataplexAspectType_dataplexAspectTypeBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"aspect_type_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_dataplex_aspect_type.test_aspect_type_basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_asset.go b/google/services/dataplex/resource_dataplex_asset.go index 4b343380f58..ece73819e4e 100644 --- a/google/services/dataplex/resource_dataplex_asset.go +++ b/google/services/dataplex/resource_dataplex_asset.go @@ -60,26 +60,26 @@ func ResourceDataplexAsset() *schema.Resource { Version: 1, SchemaFunc: func() map[string]*schema.Schema { return map[string]*schema.Schema{ - "location": { + "name": { Type: schema.TypeString, RequiredForImport: true, - Description: "The location for the resource", + Description: "The name of the asset.", }, "lake": { Type: schema.TypeString, RequiredForImport: true, Description: "The lake for the resource", }, + "location": { + Type: schema.TypeString, + RequiredForImport: true, + Description: "The location for the resource", + }, "project": { Type: schema.TypeString, OptionalForImport: true, Description: "The project for the resource", }, - "name": { - Type: schema.TypeString, - RequiredForImport: true, - Description: "The name of the asset.", - }, "dataplex_zone": { Type: schema.TypeString, RequiredForImport: true, diff --git a/google/services/dataplex/resource_dataplex_datascan_generated_test.go b/google/services/dataplex/resource_dataplex_datascan_generated_test.go index 4adc1e45961..da441212949 100644 --- a/google/services/dataplex/resource_dataplex_datascan_generated_test.go +++ b/google/services/dataplex/resource_dataplex_datascan_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataplexDatascan_dataplexDatascanBasicProfileExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_scan_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_dataplex_datascan.basic_profile", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_entry_generated_test.go b/google/services/dataplex/resource_dataplex_entry_generated_test.go index 59a29b70917..fb894b0be69 100644 --- a/google/services/dataplex/resource_dataplex_entry_generated_test.go +++ b/google/services/dataplex/resource_dataplex_entry_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataplexEntry_dataplexEntryBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"entry_group_id", "entry_id", "location"}, }, + { + ResourceName: "google_dataplex_entry.test_basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_entry_group_generated_test.go b/google/services/dataplex/resource_dataplex_entry_group_generated_test.go index 01ad3d60087..39ee3c34ba7 100644 --- a/google/services/dataplex/resource_dataplex_entry_group_generated_test.go +++ b/google/services/dataplex/resource_dataplex_entry_group_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataplexEntryGroup_dataplexEntryGroupBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"entry_group_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_dataplex_entry_group.test_entry_group_basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_entry_type_generated_test.go b/google/services/dataplex/resource_dataplex_entry_type_generated_test.go index 53cfa8e4833..8cdf8247c9e 100644 --- a/google/services/dataplex/resource_dataplex_entry_type_generated_test.go +++ b/google/services/dataplex/resource_dataplex_entry_type_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataplexEntryType_dataplexEntryTypeBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"entry_type_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_dataplex_entry_type.test_entry_type_basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_glossary_category_generated_test.go b/google/services/dataplex/resource_dataplex_glossary_category_generated_test.go index 78fb36681f6..d67ac2db475 100644 --- a/google/services/dataplex/resource_dataplex_glossary_category_generated_test.go +++ b/google/services/dataplex/resource_dataplex_glossary_category_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataplexGlossaryCategory_dataplexGlossaryCategoryBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"category_id", "glossary_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_dataplex_glossary_category.category_test_id", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_glossary_generated_test.go b/google/services/dataplex/resource_dataplex_glossary_generated_test.go index cbe67e4ee8c..cbe258259ce 100644 --- a/google/services/dataplex/resource_dataplex_glossary_generated_test.go +++ b/google/services/dataplex/resource_dataplex_glossary_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataplexGlossary_dataplexGlossaryBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"glossary_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_dataplex_glossary.glossary_test_id", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_glossary_term_generated_test.go b/google/services/dataplex/resource_dataplex_glossary_term_generated_test.go index 23e341fbd34..070e26cb830 100644 --- a/google/services/dataplex/resource_dataplex_glossary_term_generated_test.go +++ b/google/services/dataplex/resource_dataplex_glossary_term_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataplexGlossaryTerm_dataplexGlossaryTermBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"glossary_id", "labels", "location", "term_id", "terraform_labels"}, }, + { + ResourceName: "google_dataplex_glossary_term.term_test_id", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_lake.go b/google/services/dataplex/resource_dataplex_lake.go index 19cc6215457..9b1fa2e3d89 100644 --- a/google/services/dataplex/resource_dataplex_lake.go +++ b/google/services/dataplex/resource_dataplex_lake.go @@ -60,6 +60,11 @@ func ResourceDataplexLake() *schema.Resource { Version: 1, SchemaFunc: func() map[string]*schema.Schema { return map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + RequiredForImport: true, + Description: "The name of the lake.", + }, "project": { Type: schema.TypeString, OptionalForImport: true, @@ -70,11 +75,6 @@ func ResourceDataplexLake() *schema.Resource { RequiredForImport: true, Description: "The location for the resource", }, - "name": { - Type: schema.TypeString, - RequiredForImport: true, - Description: "The name of the lake.", - }, } }, }, diff --git a/google/services/dataplex/resource_dataplex_task_generated_test.go b/google/services/dataplex/resource_dataplex_task_generated_test.go index 0b405f6a9eb..0e0d1b32663 100644 --- a/google/services/dataplex/resource_dataplex_task_generated_test.go +++ b/google/services/dataplex/resource_dataplex_task_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataplexTask_dataplexTaskBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "lake", "location", "task_id", "terraform_labels"}, }, + { + ResourceName: "google_dataplex_task.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataplex/resource_dataplex_zone.go b/google/services/dataplex/resource_dataplex_zone.go index f36a15fa5a3..7ad4171ad80 100644 --- a/google/services/dataplex/resource_dataplex_zone.go +++ b/google/services/dataplex/resource_dataplex_zone.go @@ -60,6 +60,11 @@ func ResourceDataplexZone() *schema.Resource { Version: 1, SchemaFunc: func() map[string]*schema.Schema { return map[string]*schema.Schema{ + "location": { + Type: schema.TypeString, + RequiredForImport: true, + Description: "The location for the resource", + }, "lake": { Type: schema.TypeString, RequiredForImport: true, @@ -75,11 +80,6 @@ func ResourceDataplexZone() *schema.Resource { OptionalForImport: true, Description: "The project for the resource", }, - "location": { - Type: schema.TypeString, - RequiredForImport: true, - Description: "The location for the resource", - }, } }, }, diff --git a/google/services/dataproc/resource_dataproc_autoscaling_policy_generated_test.go b/google/services/dataproc/resource_dataproc_autoscaling_policy_generated_test.go index 290e2cbfb92..43d61ade72d 100644 --- a/google/services/dataproc/resource_dataproc_autoscaling_policy_generated_test.go +++ b/google/services/dataproc/resource_dataproc_autoscaling_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataprocAutoscalingPolicy_dataprocAutoscalingPolicyBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_dataproc_autoscaling_policy.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataproc/resource_dataproc_batch_generated_test.go b/google/services/dataproc/resource_dataproc_batch_generated_test.go index 7f6c7edbf65..86d92f9c7a8 100644 --- a/google/services/dataproc/resource_dataproc_batch_generated_test.go +++ b/google/services/dataproc/resource_dataproc_batch_generated_test.go @@ -55,6 +55,12 @@ func TestAccDataprocBatch_dataprocBatchSparkExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"batch_id", "labels", "location", "runtime_config.0.properties", "terraform_labels"}, }, + { + ResourceName: "google_dataproc_batch.example_batch_spark", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataproc/resource_dataproc_session_template_generated_test.go b/google/services/dataproc/resource_dataproc_session_template_generated_test.go index 19f4c12e7c6..d7ae2ab5afd 100644 --- a/google/services/dataproc/resource_dataproc_session_template_generated_test.go +++ b/google/services/dataproc/resource_dataproc_session_template_generated_test.go @@ -55,6 +55,12 @@ func TestAccDataprocSessionTemplate_dataprocSessionTemplatesJupyterExample(t *te ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "runtime_config.0.properties", "terraform_labels"}, }, + { + ResourceName: "google_dataproc_session_template.example_session_templates_jupyter", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataprocgdc/resource_dataproc_gdc_application_environment_generated_test.go b/google/services/dataprocgdc/resource_dataproc_gdc_application_environment_generated_test.go index 1ad3f645f5a..4deaeeae5be 100644 --- a/google/services/dataprocgdc/resource_dataproc_gdc_application_environment_generated_test.go +++ b/google/services/dataprocgdc/resource_dataproc_gdc_application_environment_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataprocGdcApplicationEnvironment_dataprocgdcApplicationenvironmentB ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "application_environment_id", "labels", "location", "serviceinstance", "terraform_labels"}, }, + { + ResourceName: "google_dataproc_gdc_application_environment.application-environment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataprocgdc/resource_dataproc_gdc_service_instance_generated_test.go b/google/services/dataprocgdc/resource_dataproc_gdc_service_instance_generated_test.go index 46d4500de76..f6bf17aede5 100644 --- a/google/services/dataprocgdc/resource_dataproc_gdc_service_instance_generated_test.go +++ b/google/services/dataprocgdc/resource_dataproc_gdc_service_instance_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataprocGdcServiceInstance_dataprocgdcServiceinstanceExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "service_instance_id", "terraform_labels"}, }, + { + ResourceName: "google_dataproc_gdc_service_instance.service-instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataprocgdc/resource_dataproc_gdc_spark_application_generated_test.go b/google/services/dataprocgdc/resource_dataproc_gdc_spark_application_generated_test.go index 6fda0dc31d0..b988d5e027f 100644 --- a/google/services/dataprocgdc/resource_dataproc_gdc_spark_application_generated_test.go +++ b/google/services/dataprocgdc/resource_dataproc_gdc_spark_application_generated_test.go @@ -53,6 +53,12 @@ func TestAccDataprocGdcSparkApplication_dataprocgdcSparkapplicationBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "labels", "location", "serviceinstance", "spark_application_id", "terraform_labels"}, }, + { + ResourceName: "google_dataproc_gdc_spark_application.spark-application", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataprocmetastore/resource_dataproc_metastore_federation_generated_test.go b/google/services/dataprocmetastore/resource_dataproc_metastore_federation_generated_test.go index 3a5644beb7b..15bc28d4220 100644 --- a/google/services/dataprocmetastore/resource_dataproc_metastore_federation_generated_test.go +++ b/google/services/dataprocmetastore/resource_dataproc_metastore_federation_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataprocMetastoreFederation_dataprocMetastoreFederationBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"deletion_protection", "federation_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_dataproc_metastore_federation.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dataprocmetastore/resource_dataproc_metastore_service_generated_test.go b/google/services/dataprocmetastore/resource_dataproc_metastore_service_generated_test.go index ad4fe8ca7cc..3d9e7f8b8da 100644 --- a/google/services/dataprocmetastore/resource_dataproc_metastore_service_generated_test.go +++ b/google/services/dataprocmetastore/resource_dataproc_metastore_service_generated_test.go @@ -51,6 +51,12 @@ func TestAccDataprocMetastoreService_dataprocMetastoreServiceBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "service_id", "terraform_labels"}, }, + { + ResourceName: "google_dataproc_metastore_service.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datastream/resource_datastream_connection_profile_generated_test.go b/google/services/datastream/resource_datastream_connection_profile_generated_test.go index 458a6373245..785981037a8 100644 --- a/google/services/datastream/resource_datastream_connection_profile_generated_test.go +++ b/google/services/datastream/resource_datastream_connection_profile_generated_test.go @@ -51,6 +51,12 @@ func TestAccDatastreamConnectionProfile_datastreamConnectionProfileBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"connection_profile_id", "create_without_validation", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_datastream_connection_profile.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datastream/resource_datastream_private_connection_generated_test.go b/google/services/datastream/resource_datastream_private_connection_generated_test.go index 4cb45b5777e..9a849301b10 100644 --- a/google/services/datastream/resource_datastream_private_connection_generated_test.go +++ b/google/services/datastream/resource_datastream_private_connection_generated_test.go @@ -52,6 +52,12 @@ func TestAccDatastreamPrivateConnection_datastreamPrivateConnectionFullExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"create_without_validation", "labels", "location", "private_connection_id", "terraform_labels"}, }, + { + ResourceName: "google_datastream_private_connection.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/datastream/resource_datastream_stream_generated_test.go b/google/services/datastream/resource_datastream_stream_generated_test.go index a2e4d7a81f4..e361dac3e95 100644 --- a/google/services/datastream/resource_datastream_stream_generated_test.go +++ b/google/services/datastream/resource_datastream_stream_generated_test.go @@ -57,6 +57,12 @@ func TestAccDatastreamStream_datastreamStreamBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"create_without_validation", "labels", "location", "stream_id", "terraform_labels"}, }, + { + ResourceName: "google_datastream_stream.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/developerconnect/resource_developer_connect_account_connector_generated_test.go b/google/services/developerconnect/resource_developer_connect_account_connector_generated_test.go index 45433a6e2ee..3984716ebd5 100644 --- a/google/services/developerconnect/resource_developer_connect_account_connector_generated_test.go +++ b/google/services/developerconnect/resource_developer_connect_account_connector_generated_test.go @@ -51,6 +51,12 @@ func TestAccDeveloperConnectAccountConnector_developerConnectAccountConnectorGit ImportStateVerify: true, ImportStateVerifyIgnore: []string{"account_connector_id", "annotations", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_developer_connect_account_connector.my-account-connector", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/developerconnect/resource_developer_connect_connection_generated_test.go b/google/services/developerconnect/resource_developer_connect_connection_generated_test.go index 443a480d0f0..3256a90672e 100644 --- a/google/services/developerconnect/resource_developer_connect_connection_generated_test.go +++ b/google/services/developerconnect/resource_developer_connect_connection_generated_test.go @@ -52,6 +52,12 @@ func TestAccDeveloperConnectConnection_developerConnectConnectionExistingCredent ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "connection_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_developer_connect_connection.my-connection", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/developerconnect/resource_developer_connect_git_repository_link_generated_test.go b/google/services/developerconnect/resource_developer_connect_git_repository_link_generated_test.go index 5140d79f05f..fa77e5a71f2 100644 --- a/google/services/developerconnect/resource_developer_connect_git_repository_link_generated_test.go +++ b/google/services/developerconnect/resource_developer_connect_git_repository_link_generated_test.go @@ -51,6 +51,12 @@ func TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkG ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "git_repository_link_id", "labels", "location", "parent_connection", "terraform_labels"}, }, + { + ResourceName: "google_developer_connect_git_repository_link.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/developerconnect/resource_developer_connect_insights_config_generated_test.go b/google/services/developerconnect/resource_developer_connect_insights_config_generated_test.go index c9f961f2183..f82873b54a5 100644 --- a/google/services/developerconnect/resource_developer_connect_insights_config_generated_test.go +++ b/google/services/developerconnect/resource_developer_connect_insights_config_generated_test.go @@ -58,6 +58,12 @@ func TestAccDeveloperConnectInsightsConfig_developerConnectInsightsConfigBasicEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "insights_config_id", "labels", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_developer_connect_insights_config.insights_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflow/resource_dialogflow_agent_generated_test.go b/google/services/dialogflow/resource_dialogflow_agent_generated_test.go index 8887faafe1a..a60adeb7c76 100644 --- a/google/services/dialogflow/resource_dialogflow_agent_generated_test.go +++ b/google/services/dialogflow/resource_dialogflow_agent_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowAgent_dialogflowAgentFullExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"avatar_uri", "tier"}, }, + { + ResourceName: "google_dialogflow_agent.full_agent", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflow/resource_dialogflow_conversation_profile_generated_test.go b/google/services/dialogflow/resource_dialogflow_conversation_profile_generated_test.go index 8a91296f6fc..8efe2009398 100644 --- a/google/services/dialogflow/resource_dialogflow_conversation_profile_generated_test.go +++ b/google/services/dialogflow/resource_dialogflow_conversation_profile_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowConversationProfile_dialogflowConversationProfileBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "logging_config"}, }, + { + ResourceName: "google_dialogflow_conversation_profile.basic_profile", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflow/resource_dialogflow_intent_generated_test.go b/google/services/dialogflow/resource_dialogflow_intent_generated_test.go index f302fcc15f8..85eaa74b49b 100644 --- a/google/services/dialogflow/resource_dialogflow_intent_generated_test.go +++ b/google/services/dialogflow/resource_dialogflow_intent_generated_test.go @@ -52,6 +52,12 @@ func TestAccDialogflowIntent_dialogflowIntentFullExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_dialogflow_intent.full_intent", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_agent_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_agent_generated_test.go index 30a741b173b..fe21dac82cb 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_agent_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_agent_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXAgent_dialogflowcxAgentFullExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"advanced_settings.0.logging_settings", "advanced_settings.0.logging_settings", "answer_feedback_settings", "enable_stackdriver_logging", "enable_stackdriver_logging", "git_integration_settings.0.github_settings.0.access_token", "git_integration_settings.0.github_settings.0.access_token", "location", "start_playbook"}, }, + { + ResourceName: "google_dialogflow_cx_agent.full_agent", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_entity_type_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_entity_type_generated_test.go index 41a138962ce..f54cdb35b78 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_entity_type_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_entity_type_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXEntityType_dialogflowcxEntityTypeFullExample(t *testing. ImportStateVerify: true, ImportStateVerifyIgnore: []string{"language_code", "parent"}, }, + { + ResourceName: "google_dialogflow_cx_entity_type.basic_entity_type", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_environment_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_environment_generated_test.go index c21163da31e..fa110d99ad9 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_environment_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_environment_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXEnvironment_dialogflowcxEnvironmentFullExample(t *testin ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent"}, }, + { + ResourceName: "google_dialogflow_cx_environment.development", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_flow_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_flow_generated_test.go index 64b5031d69e..676c317d946 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_flow_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_flow_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXFlow_dialogflowcxFlowBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"advanced_settings.0.logging_settings", "advanced_settings.0.logging_settings", "knowledge_connector_settings.0.trigger_fulfillment.0.advanced_settings.0.logging_settings", "parent"}, }, + { + ResourceName: "google_dialogflow_cx_flow.basic_flow", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_generative_settings_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_generative_settings_generated_test.go index 3a8c0565a50..067c29d9533 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_generative_settings_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_generative_settings_generated_test.go @@ -45,6 +45,12 @@ func TestAccDialogflowCXGenerativeSettings_dialogflowcxGenerativeSettingsFullExa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"fallback_settings.0.prompt_templates", "parent"}, }, + { + ResourceName: "google_dialogflow_cx_generative_settings.full_generative_settings", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_generator_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_generator_generated_test.go index 38c99bba6ca..d761dff005f 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_generator_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_generator_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXGenerator_dialogflowcxGeneratorBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"language_code", "parent", "prompt_text"}, }, + { + ResourceName: "google_dialogflow_cx_generator.generator", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_intent_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_intent_generated_test.go index c3c1a10dd66..9e4b3f1f153 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_intent_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_intent_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXIntent_dialogflowcxIntentFullExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "parent", "terraform_labels"}, }, + { + ResourceName: "google_dialogflow_cx_intent.basic_intent", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_page_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_page_generated_test.go index f81956cf17c..ba36a4b1554 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_page_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_page_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXPage_dialogflowcxPageFullExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"knowledge_connector_settings.0.trigger_fulfillment.0.advanced_settings.0.logging_settings", "parent"}, }, + { + ResourceName: "google_dialogflow_cx_page.basic_page", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_playbook_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_playbook_generated_test.go index fe80537062b..17130074990 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_playbook_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_playbook_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXPlaybook_dialogflowcxPlaybookBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent", "playbook_type"}, }, + { + ResourceName: "google_dialogflow_cx_playbook.my-playbook", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_security_settings_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_security_settings_generated_test.go index d63acb4c98f..c59c12039f4 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_security_settings_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_security_settings_generated_test.go @@ -52,6 +52,12 @@ func TestAccDialogflowCXSecuritySettings_dialogflowcxSecuritySettingsBasicExampl ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_dialogflow_cx_security_settings.basic_security_settings", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_test_case_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_test_case_generated_test.go index a177f90aacb..fcb807b58f4 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_test_case_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_test_case_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXTestCase_dialogflowcxTestCaseFullExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent"}, }, + { + ResourceName: "google_dialogflow_cx_test_case.basic_test_case", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_tool_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_tool_generated_test.go index c31fd22cd23..28e0df2d373 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_tool_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_tool_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXTool_dialogflowcxToolOpenApiExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"open_api_spec.0.authentication.0.api_key_config.0.api_key", "open_api_spec.0.authentication.0.bearer_token_config.0.token", "open_api_spec.0.authentication.0.oauth_config.0.client_secret", "parent"}, }, + { + ResourceName: "google_dialogflow_cx_tool.open_api_tool", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_version_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_version_generated_test.go index 39ca5f7ecbb..d61280b37e5 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_version_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_version_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXVersion_dialogflowcxVersionFullExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent"}, }, + { + ResourceName: "google_dialogflow_cx_version.version_1", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dialogflowcx/resource_dialogflow_cx_webhook_generated_test.go b/google/services/dialogflowcx/resource_dialogflow_cx_webhook_generated_test.go index 8f75b164adb..19707cbde67 100644 --- a/google/services/dialogflowcx/resource_dialogflow_cx_webhook_generated_test.go +++ b/google/services/dialogflowcx/resource_dialogflow_cx_webhook_generated_test.go @@ -51,6 +51,12 @@ func TestAccDialogflowCXWebhook_dialogflowcxWebhookStandardExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"generic_web_service.0.oauth_config.0.client_secret", "parent", "service_directory.0.generic_web_service.0.oauth_config.0.client_secret"}, }, + { + ResourceName: "google_dialogflow_cx_webhook.standard_webhook", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/discoveryengine/resource_discovery_engine_chat_engine_generated_test.go b/google/services/discoveryengine/resource_discovery_engine_chat_engine_generated_test.go index 4db7bbc7b90..5ee42e848a6 100644 --- a/google/services/discoveryengine/resource_discovery_engine_chat_engine_generated_test.go +++ b/google/services/discoveryengine/resource_discovery_engine_chat_engine_generated_test.go @@ -51,6 +51,12 @@ func TestAccDiscoveryEngineChatEngine_discoveryengineChatEngineBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"chat_engine_config", "collection_id", "engine_id", "location"}, }, + { + ResourceName: "google_discovery_engine_chat_engine.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/discoveryengine/resource_discovery_engine_cmek_config_generated_test.go b/google/services/discoveryengine/resource_discovery_engine_cmek_config_generated_test.go index 0716c398e20..d9f0dbc12e3 100644 --- a/google/services/discoveryengine/resource_discovery_engine_cmek_config_generated_test.go +++ b/google/services/discoveryengine/resource_discovery_engine_cmek_config_generated_test.go @@ -52,6 +52,12 @@ func TestAccDiscoveryEngineCmekConfig_discoveryengineCmekconfigDefaultExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"cmek_config_id", "location", "project", "set_default"}, }, + { + ResourceName: "google_discovery_engine_cmek_config.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/discoveryengine/resource_discovery_engine_data_store_generated_test.go b/google/services/discoveryengine/resource_discovery_engine_data_store_generated_test.go index 6c0d63f9b80..e4ef0a6ad89 100644 --- a/google/services/discoveryengine/resource_discovery_engine_data_store_generated_test.go +++ b/google/services/discoveryengine/resource_discovery_engine_data_store_generated_test.go @@ -51,6 +51,12 @@ func TestAccDiscoveryEngineDataStore_discoveryengineDatastoreBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"create_advanced_site_search", "data_store_id", "kms_key_name", "location", "skip_default_schema_creation"}, }, + { + ResourceName: "google_discovery_engine_data_store.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/discoveryengine/resource_discovery_engine_recommendation_engine_generated_test.go b/google/services/discoveryengine/resource_discovery_engine_recommendation_engine_generated_test.go index f2dca50a60b..c7b3e99971b 100644 --- a/google/services/discoveryengine/resource_discovery_engine_recommendation_engine_generated_test.go +++ b/google/services/discoveryengine/resource_discovery_engine_recommendation_engine_generated_test.go @@ -51,6 +51,12 @@ func TestAccDiscoveryEngineRecommendationEngine_discoveryengineRecommendationeng ImportStateVerify: true, ImportStateVerifyIgnore: []string{"common_config", "engine_id", "industry_vertical", "location"}, }, + { + ResourceName: "google_discovery_engine_recommendation_engine.generic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/discoveryengine/resource_discovery_engine_schema_generated_test.go b/google/services/discoveryengine/resource_discovery_engine_schema_generated_test.go index c8d8615f36d..26d4519db23 100644 --- a/google/services/discoveryengine/resource_discovery_engine_schema_generated_test.go +++ b/google/services/discoveryengine/resource_discovery_engine_schema_generated_test.go @@ -51,6 +51,12 @@ func TestAccDiscoveryEngineSchema_discoveryengineSchemaBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_store_id", "location", "schema_id"}, }, + { + ResourceName: "google_discovery_engine_schema.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/discoveryengine/resource_discovery_engine_search_engine_generated_test.go b/google/services/discoveryengine/resource_discovery_engine_search_engine_generated_test.go index 6318341f47d..49ab92d8389 100644 --- a/google/services/discoveryengine/resource_discovery_engine_search_engine_generated_test.go +++ b/google/services/discoveryengine/resource_discovery_engine_search_engine_generated_test.go @@ -51,6 +51,12 @@ func TestAccDiscoveryEngineSearchEngine_discoveryengineSearchengineBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"collection_id", "engine_id", "location"}, }, + { + ResourceName: "google_discovery_engine_search_engine.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/discoveryengine/resource_discovery_engine_sitemap_generated_test.go b/google/services/discoveryengine/resource_discovery_engine_sitemap_generated_test.go index bfacd413751..d80f0b106c3 100644 --- a/google/services/discoveryengine/resource_discovery_engine_sitemap_generated_test.go +++ b/google/services/discoveryengine/resource_discovery_engine_sitemap_generated_test.go @@ -51,6 +51,12 @@ func TestAccDiscoveryEngineSitemap_discoveryengineSitemapBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_store_id", "location", "project", "sitemap_id"}, }, + { + ResourceName: "google_discovery_engine_sitemap.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/discoveryengine/resource_discovery_engine_target_site_generated_test.go b/google/services/discoveryengine/resource_discovery_engine_target_site_generated_test.go index 62f2c5b3440..9aee44684e3 100644 --- a/google/services/discoveryengine/resource_discovery_engine_target_site_generated_test.go +++ b/google/services/discoveryengine/resource_discovery_engine_target_site_generated_test.go @@ -51,6 +51,12 @@ func TestAccDiscoveryEngineTargetSite_discoveryengineTargetsiteBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"data_store_id", "location", "project", "provided_uri_pattern", "target_site_id"}, }, + { + ResourceName: "google_discovery_engine_target_site.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dns/resource_dns_managed_zone_generated_test.go b/google/services/dns/resource_dns_managed_zone_generated_test.go index 0be5aee7518..9167f34f116 100644 --- a/google/services/dns/resource_dns_managed_zone_generated_test.go +++ b/google/services/dns/resource_dns_managed_zone_generated_test.go @@ -53,6 +53,12 @@ func TestAccDNSManagedZone_dnsManagedZoneQuickstartExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"force_destroy", "labels", "terraform_labels"}, }, + { + ResourceName: "google_dns_managed_zone.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dns/resource_dns_policy_generated_test.go b/google/services/dns/resource_dns_policy_generated_test.go index 503a96fc93c..c5f8163c3b7 100644 --- a/google/services/dns/resource_dns_policy_generated_test.go +++ b/google/services/dns/resource_dns_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccDNSPolicy_dnsPolicyBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_dns_policy.example-policy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dns/resource_dns_response_policy_generated_test.go b/google/services/dns/resource_dns_response_policy_generated_test.go index fd85fe775ef..d57fb6f8301 100644 --- a/google/services/dns/resource_dns_response_policy_generated_test.go +++ b/google/services/dns/resource_dns_response_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccDNSResponsePolicy_dnsResponsePolicyBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_dns_response_policy.example-response-policy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/dns/resource_dns_response_policy_rule_generated_test.go b/google/services/dns/resource_dns_response_policy_rule_generated_test.go index e08516c0c17..ed46e853b02 100644 --- a/google/services/dns/resource_dns_response_policy_rule_generated_test.go +++ b/google/services/dns/resource_dns_response_policy_rule_generated_test.go @@ -51,6 +51,12 @@ func TestAccDNSResponsePolicyRule_dnsResponsePolicyRuleBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"response_policy"}, }, + { + ResourceName: "google_dns_response_policy_rule.example-response-policy-rule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/documentai/resource_document_ai_processor_default_version_generated_test.go b/google/services/documentai/resource_document_ai_processor_default_version_generated_test.go index 6be40a67f8a..0b4f9529248 100644 --- a/google/services/documentai/resource_document_ai_processor_default_version_generated_test.go +++ b/google/services/documentai/resource_document_ai_processor_default_version_generated_test.go @@ -45,6 +45,12 @@ func TestAccDocumentAIProcessorDefaultVersion_documentaiDefaultVersionExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"processor"}, }, + { + ResourceName: "google_document_ai_processor_default_version.processor", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/documentai/resource_document_ai_processor_generated_test.go b/google/services/documentai/resource_document_ai_processor_generated_test.go index 4145d9a9bd2..71602c7964b 100644 --- a/google/services/documentai/resource_document_ai_processor_generated_test.go +++ b/google/services/documentai/resource_document_ai_processor_generated_test.go @@ -51,6 +51,12 @@ func TestAccDocumentAIProcessor_documentaiProcessorExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_document_ai_processor.processor", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/edgecontainer/resource_edgecontainer_cluster_generated_test.go b/google/services/edgecontainer/resource_edgecontainer_cluster_generated_test.go index c73577fc24d..98d1477a2b7 100644 --- a/google/services/edgecontainer/resource_edgecontainer_cluster_generated_test.go +++ b/google/services/edgecontainer/resource_edgecontainer_cluster_generated_test.go @@ -52,6 +52,12 @@ func TestAccEdgecontainerCluster_edgecontainerClusterExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_edgecontainer_cluster.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/essentialcontacts/resource_essential_contacts_contact_generated_test.go b/google/services/essentialcontacts/resource_essential_contacts_contact_generated_test.go index 12a68fc0755..45c962741b0 100644 --- a/google/services/essentialcontacts/resource_essential_contacts_contact_generated_test.go +++ b/google/services/essentialcontacts/resource_essential_contacts_contact_generated_test.go @@ -51,6 +51,12 @@ func TestAccEssentialContactsContact_essentialContactExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent"}, }, + { + ResourceName: "google_essential_contacts_contact.contact", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/eventarc/resource_eventarc_channel_generated_test.go b/google/services/eventarc/resource_eventarc_channel_generated_test.go index 5ba6e53700e..730608e385d 100644 --- a/google/services/eventarc/resource_eventarc_channel_generated_test.go +++ b/google/services/eventarc/resource_eventarc_channel_generated_test.go @@ -61,6 +61,12 @@ func TestAccEventarcChannel_eventarcChannelWithCmekExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_eventarc_channel.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/eventarc/resource_eventarc_pipeline_generated_test.go b/google/services/eventarc/resource_eventarc_pipeline_generated_test.go index 186fafd756c..6ba1d74cce5 100644 --- a/google/services/eventarc/resource_eventarc_pipeline_generated_test.go +++ b/google/services/eventarc/resource_eventarc_pipeline_generated_test.go @@ -53,6 +53,12 @@ func TestAccEventarcPipeline_eventarcPipelineWithTopicDestinationExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "labels", "location", "pipeline_id", "terraform_labels"}, }, + { + ResourceName: "google_eventarc_pipeline.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/eventarc/resource_eventarc_trigger_generated_test.go b/google/services/eventarc/resource_eventarc_trigger_generated_test.go index 6d0a9507a05..0a1733afdf6 100644 --- a/google/services/eventarc/resource_eventarc_trigger_generated_test.go +++ b/google/services/eventarc/resource_eventarc_trigger_generated_test.go @@ -52,6 +52,12 @@ func TestAccEventarcTrigger_eventarcTriggerWithCloudRunDestinationExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_eventarc_trigger.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/filestore/resource_filestore_backup_generated_test.go b/google/services/filestore/resource_filestore_backup_generated_test.go index 96e66c7896a..f88283108b0 100644 --- a/google/services/filestore/resource_filestore_backup_generated_test.go +++ b/google/services/filestore/resource_filestore_backup_generated_test.go @@ -51,6 +51,12 @@ func TestAccFilestoreBackup_filestoreBackupBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "tags", "terraform_labels"}, }, + { + ResourceName: "google_filestore_backup.backup", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/filestore/resource_filestore_instance_generated_test.go b/google/services/filestore/resource_filestore_instance_generated_test.go index c5f465cbe23..75875b87c38 100644 --- a/google/services/filestore/resource_filestore_instance_generated_test.go +++ b/google/services/filestore/resource_filestore_instance_generated_test.go @@ -51,6 +51,12 @@ func TestAccFilestoreInstance_filestoreInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"initial_replication", "labels", "location", "name", "tags", "terraform_labels", "zone"}, }, + { + ResourceName: "google_filestore_instance.instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/filestore/resource_filestore_snapshot_generated_test.go b/google/services/filestore/resource_filestore_snapshot_generated_test.go index 4a905e6401f..0e4e07626e7 100644 --- a/google/services/filestore/resource_filestore_snapshot_generated_test.go +++ b/google/services/filestore/resource_filestore_snapshot_generated_test.go @@ -51,6 +51,12 @@ func TestAccFilestoreSnapshot_filestoreSnapshotBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance", "labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_filestore_snapshot.snapshot", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firebaseappcheck/resource_firebase_app_check_service_config_generated_test.go b/google/services/firebaseappcheck/resource_firebase_app_check_service_config_generated_test.go index c127b6e99a7..3a002b8c03a 100644 --- a/google/services/firebaseappcheck/resource_firebase_app_check_service_config_generated_test.go +++ b/google/services/firebaseappcheck/resource_firebase_app_check_service_config_generated_test.go @@ -54,6 +54,12 @@ func TestAccFirebaseAppCheckServiceConfig_firebaseAppCheckServiceConfigOffExampl ImportStateVerify: true, ImportStateVerifyIgnore: []string{"service_id"}, }, + { + ResourceName: "google_firebase_app_check_service_config.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firebaseapphosting/resource_firebase_app_hosting_backend_generated_test.go b/google/services/firebaseapphosting/resource_firebase_app_hosting_backend_generated_test.go index 210a5fc4a68..b23a9ae9904 100644 --- a/google/services/firebaseapphosting/resource_firebase_app_hosting_backend_generated_test.go +++ b/google/services/firebaseapphosting/resource_firebase_app_hosting_backend_generated_test.go @@ -54,6 +54,12 @@ func TestAccFirebaseAppHostingBackend_firebaseAppHostingBackendMinimalExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "backend_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_firebase_app_hosting_backend.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firebaseapphosting/resource_firebase_app_hosting_build_generated_test.go b/google/services/firebaseapphosting/resource_firebase_app_hosting_build_generated_test.go index efc61f8f364..65bc4b61e59 100644 --- a/google/services/firebaseapphosting/resource_firebase_app_hosting_build_generated_test.go +++ b/google/services/firebaseapphosting/resource_firebase_app_hosting_build_generated_test.go @@ -48,6 +48,12 @@ func TestAccFirebaseAppHostingBuild_firebaseAppHostingBuildMinimalExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "backend", "build_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_firebase_app_hosting_build.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firebaseapphosting/resource_firebase_app_hosting_default_domain_generated_test.go b/google/services/firebaseapphosting/resource_firebase_app_hosting_default_domain_generated_test.go index 78edb18059a..be5eefc77a6 100644 --- a/google/services/firebaseapphosting/resource_firebase_app_hosting_default_domain_generated_test.go +++ b/google/services/firebaseapphosting/resource_firebase_app_hosting_default_domain_generated_test.go @@ -48,6 +48,12 @@ func TestAccFirebaseAppHostingDefaultDomain_firebaseAppHostingDefaultDomainMinim ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backend", "domain_id", "location"}, }, + { + ResourceName: "google_firebase_app_hosting_default_domain.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firebaseapphosting/resource_firebase_app_hosting_domain_generated_test.go b/google/services/firebaseapphosting/resource_firebase_app_hosting_domain_generated_test.go index de237537424..8472f68cb0d 100644 --- a/google/services/firebaseapphosting/resource_firebase_app_hosting_domain_generated_test.go +++ b/google/services/firebaseapphosting/resource_firebase_app_hosting_domain_generated_test.go @@ -55,6 +55,12 @@ func TestAccFirebaseAppHostingDomain_firebaseAppHostingDomainMinimalExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backend", "domain_id", "location"}, }, + { + ResourceName: "google_firebase_app_hosting_domain.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firebaseapphosting/resource_firebase_app_hosting_traffic_generated_test.go b/google/services/firebaseapphosting/resource_firebase_app_hosting_traffic_generated_test.go index ddf4813d57f..ac9b893e036 100644 --- a/google/services/firebaseapphosting/resource_firebase_app_hosting_traffic_generated_test.go +++ b/google/services/firebaseapphosting/resource_firebase_app_hosting_traffic_generated_test.go @@ -48,6 +48,12 @@ func TestAccFirebaseAppHostingTraffic_firebaseAppHostingTrafficTargetExample(t * ImportStateVerify: true, ImportStateVerifyIgnore: []string{"backend", "location"}, }, + { + ResourceName: "google_firebase_app_hosting_traffic.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firebasedataconnect/resource_firebase_data_connect_service_generated_test.go b/google/services/firebasedataconnect/resource_firebase_data_connect_service_generated_test.go index ca4dcd07368..7bb2bee7025 100644 --- a/google/services/firebasedataconnect/resource_firebase_data_connect_service_generated_test.go +++ b/google/services/firebasedataconnect/resource_firebase_data_connect_service_generated_test.go @@ -53,6 +53,12 @@ func TestAccFirebaseDataConnectService_firebasedataconnectServiceBasicExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "labels", "location", "service_id", "terraform_labels"}, }, + { + ResourceName: "google_firebase_data_connect_service.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firebaserules/resource_firebaserules_release.go b/google/services/firebaserules/resource_firebaserules_release.go index 04e6671b088..491b91d7fe8 100644 --- a/google/services/firebaserules/resource_firebaserules_release.go +++ b/google/services/firebaserules/resource_firebaserules_release.go @@ -57,16 +57,16 @@ func ResourceFirebaserulesRelease() *schema.Resource { Version: 1, SchemaFunc: func() map[string]*schema.Schema { return map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - RequiredForImport: true, - Description: "Format: `projects/{project_id}/releases/{release_id}`\\Firestore Rules Releases will **always** have the name 'cloud.firestore'", - }, "project": { Type: schema.TypeString, OptionalForImport: true, Description: "The project for the resource", }, + "name": { + Type: schema.TypeString, + RequiredForImport: true, + Description: "Format: `projects/{project_id}/releases/{release_id}`\\Firestore Rules Releases will **always** have the name 'cloud.firestore'", + }, } }, }, diff --git a/google/services/firestore/resource_firestore_backup_schedule_generated_test.go b/google/services/firestore/resource_firestore_backup_schedule_generated_test.go index 3821b8ea513..a476d737dde 100644 --- a/google/services/firestore/resource_firestore_backup_schedule_generated_test.go +++ b/google/services/firestore/resource_firestore_backup_schedule_generated_test.go @@ -54,6 +54,12 @@ func TestAccFirestoreBackupSchedule_firestoreBackupScheduleDailyExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"database"}, }, + { + ResourceName: "google_firestore_backup_schedule.daily-backup", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firestore/resource_firestore_database_generated_test.go b/google/services/firestore/resource_firestore_database_generated_test.go index 24fbb9edd96..9b43b6075cf 100644 --- a/google/services/firestore/resource_firestore_database_generated_test.go +++ b/google/services/firestore/resource_firestore_database_generated_test.go @@ -54,6 +54,12 @@ func TestAccFirestoreDatabase_firestoreDatabaseExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"deletion_policy", "etag", "project", "tags"}, }, + { + ResourceName: "google_firestore_database.database", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firestore/resource_firestore_document_generated_test.go b/google/services/firestore/resource_firestore_document_generated_test.go index 9b1895280d1..de5f0ac2e2d 100644 --- a/google/services/firestore/resource_firestore_document_generated_test.go +++ b/google/services/firestore/resource_firestore_document_generated_test.go @@ -57,6 +57,12 @@ func TestAccFirestoreDocument_firestoreDocumentBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"collection", "database", "document_id"}, }, + { + ResourceName: "google_firestore_document.mydoc", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firestore/resource_firestore_field_generated_test.go b/google/services/firestore/resource_firestore_field_generated_test.go index 17e4178245d..8f120715181 100644 --- a/google/services/firestore/resource_firestore_field_generated_test.go +++ b/google/services/firestore/resource_firestore_field_generated_test.go @@ -55,6 +55,12 @@ func TestAccFirestoreField_firestoreFieldBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"collection", "database", "field"}, }, + { + ResourceName: "google_firestore_field.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/firestore/resource_firestore_index_generated_test.go b/google/services/firestore/resource_firestore_index_generated_test.go index 252da2ba253..c56aa05d382 100644 --- a/google/services/firestore/resource_firestore_index_generated_test.go +++ b/google/services/firestore/resource_firestore_index_generated_test.go @@ -57,6 +57,12 @@ func TestAccFirestoreIndex_firestoreIndexBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"collection", "database"}, }, + { + ResourceName: "google_firestore_index.my-index", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gemini/resource_gemini_gemini_gcp_enablement_setting_generated_test.go b/google/services/gemini/resource_gemini_gemini_gcp_enablement_setting_generated_test.go index f1ebe905dc6..97ced9dbe8a 100644 --- a/google/services/gemini/resource_gemini_gemini_gcp_enablement_setting_generated_test.go +++ b/google/services/gemini/resource_gemini_gemini_gcp_enablement_setting_generated_test.go @@ -51,6 +51,12 @@ func TestAccGeminiGeminiGcpEnablementSetting_geminiGeminiGcpEnablementSettingBas ImportStateVerify: true, ImportStateVerifyIgnore: []string{"gemini_gcp_enablement_setting_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_gemini_gemini_gcp_enablement_setting.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gemini/resource_gemini_logging_setting_generated_test.go b/google/services/gemini/resource_gemini_logging_setting_generated_test.go index ffa0cc5270a..b1a623db95f 100644 --- a/google/services/gemini/resource_gemini_logging_setting_generated_test.go +++ b/google/services/gemini/resource_gemini_logging_setting_generated_test.go @@ -51,6 +51,12 @@ func TestAccGeminiLoggingSetting_geminiLoggingSettingBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "logging_setting_id", "terraform_labels"}, }, + { + ResourceName: "google_gemini_logging_setting.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gemini/resource_gemini_release_channel_setting_generated_test.go b/google/services/gemini/resource_gemini_release_channel_setting_generated_test.go index 28fb304a66f..6649223611d 100644 --- a/google/services/gemini/resource_gemini_release_channel_setting_generated_test.go +++ b/google/services/gemini/resource_gemini_release_channel_setting_generated_test.go @@ -51,6 +51,12 @@ func TestAccGeminiReleaseChannelSetting_geminiReleaseChannelSettingBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "release_channel_setting_id", "terraform_labels"}, }, + { + ResourceName: "google_gemini_release_channel_setting.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkebackup/resource_gke_backup_backup_channel_generated_test.go b/google/services/gkebackup/resource_gke_backup_backup_channel_generated_test.go index 62b5fac36c1..70827ff8525 100644 --- a/google/services/gkebackup/resource_gke_backup_backup_channel_generated_test.go +++ b/google/services/gkebackup/resource_gke_backup_backup_channel_generated_test.go @@ -54,6 +54,12 @@ func TestAccGKEBackupBackupChannel_gkebackupBackupchannelBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_gke_backup_backup_channel.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkebackup/resource_gke_backup_backup_plan_generated_test.go b/google/services/gkebackup/resource_gke_backup_backup_plan_generated_test.go index d256d6e5a74..5ecc31b21f8 100644 --- a/google/services/gkebackup/resource_gke_backup_backup_plan_generated_test.go +++ b/google/services/gkebackup/resource_gke_backup_backup_plan_generated_test.go @@ -56,6 +56,12 @@ func TestAccGKEBackupBackupPlan_gkebackupBackupplanBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_gke_backup_backup_plan.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkebackup/resource_gke_backup_restore_channel_generated_test.go b/google/services/gkebackup/resource_gke_backup_restore_channel_generated_test.go index 38c3089dcc9..28d70327069 100644 --- a/google/services/gkebackup/resource_gke_backup_restore_channel_generated_test.go +++ b/google/services/gkebackup/resource_gke_backup_restore_channel_generated_test.go @@ -54,6 +54,12 @@ func TestAccGKEBackupRestoreChannel_gkebackupRestorechannelBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_gke_backup_restore_channel.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkebackup/resource_gke_backup_restore_plan_generated_test.go b/google/services/gkebackup/resource_gke_backup_restore_plan_generated_test.go index cb6c2aeeb57..1adc1349519 100644 --- a/google/services/gkebackup/resource_gke_backup_restore_plan_generated_test.go +++ b/google/services/gkebackup/resource_gke_backup_restore_plan_generated_test.go @@ -56,6 +56,12 @@ func TestAccGKEBackupRestorePlan_gkebackupRestoreplanAllNamespacesExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_gke_backup_restore_plan.all_ns", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkehub/resource_gke_hub_membership_generated_test.go b/google/services/gkehub/resource_gke_hub_membership_generated_test.go index 376f789cbdd..0887ccc6945 100644 --- a/google/services/gkehub/resource_gke_hub_membership_generated_test.go +++ b/google/services/gkehub/resource_gke_hub_membership_generated_test.go @@ -56,6 +56,12 @@ func TestAccGKEHubMembership_gkehubMembershipRegionalExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "membership_id", "terraform_labels"}, }, + { + ResourceName: "google_gke_hub_membership.membership", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkehub2/resource_gke_hub_membership_binding_generated_test.go b/google/services/gkehub2/resource_gke_hub_membership_binding_generated_test.go index fb712e3d380..95aa7ca6aff 100644 --- a/google/services/gkehub2/resource_gke_hub_membership_binding_generated_test.go +++ b/google/services/gkehub2/resource_gke_hub_membership_binding_generated_test.go @@ -57,6 +57,12 @@ func TestAccGKEHub2MembershipBinding_gkehubMembershipBindingBasicExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "membership_binding_id", "membership_id", "scope", "terraform_labels"}, }, + { + ResourceName: "google_gke_hub_membership_binding.membership_binding", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkehub2/resource_gke_hub_namespace_generated_test.go b/google/services/gkehub2/resource_gke_hub_namespace_generated_test.go index 1fb3b215e5a..083b5117f7e 100644 --- a/google/services/gkehub2/resource_gke_hub_namespace_generated_test.go +++ b/google/services/gkehub2/resource_gke_hub_namespace_generated_test.go @@ -53,6 +53,12 @@ func TestAccGKEHub2Namespace_gkehubNamespaceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "scope", "scope", "scope_id", "scope_namespace_id", "terraform_labels"}, }, + { + ResourceName: "google_gke_hub_namespace.namespace", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkehub2/resource_gke_hub_scope_generated_test.go b/google/services/gkehub2/resource_gke_hub_scope_generated_test.go index a22d6955188..608d5ff92b7 100644 --- a/google/services/gkehub2/resource_gke_hub_scope_generated_test.go +++ b/google/services/gkehub2/resource_gke_hub_scope_generated_test.go @@ -53,6 +53,12 @@ func TestAccGKEHub2Scope_gkehubScopeBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "scope_id", "terraform_labels"}, }, + { + ResourceName: "google_gke_hub_scope.scope", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkehub2/resource_gke_hub_scope_rbac_role_binding_generated_test.go b/google/services/gkehub2/resource_gke_hub_scope_rbac_role_binding_generated_test.go index 0215128f802..de0f21831bc 100644 --- a/google/services/gkehub2/resource_gke_hub_scope_rbac_role_binding_generated_test.go +++ b/google/services/gkehub2/resource_gke_hub_scope_rbac_role_binding_generated_test.go @@ -53,6 +53,12 @@ func TestAccGKEHub2ScopeRBACRoleBinding_gkehubScopeRbacRoleBindingBasicExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "scope_id", "scope_rbac_role_binding_id", "terraform_labels"}, }, + { + ResourceName: "google_gke_hub_scope_rbac_role_binding.scope_rbac_role_binding", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkeonprem/resource_gkeonprem_bare_metal_admin_cluster_generated_test.go b/google/services/gkeonprem/resource_gkeonprem_bare_metal_admin_cluster_generated_test.go index 18b7469bef8..67a00853cf8 100644 --- a/google/services/gkeonprem/resource_gkeonprem_bare_metal_admin_cluster_generated_test.go +++ b/google/services/gkeonprem/resource_gkeonprem_bare_metal_admin_cluster_generated_test.go @@ -45,6 +45,12 @@ func TestAccGkeonpremBareMetalAdminCluster_gkeonpremBareMetalAdminClusterBasicEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "name"}, }, + { + ResourceName: "google_gkeonprem_bare_metal_admin_cluster.admin-cluster-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkeonprem/resource_gkeonprem_bare_metal_cluster_generated_test.go b/google/services/gkeonprem/resource_gkeonprem_bare_metal_cluster_generated_test.go index 3ccb2200414..c7b3814c305 100644 --- a/google/services/gkeonprem/resource_gkeonprem_bare_metal_cluster_generated_test.go +++ b/google/services/gkeonprem/resource_gkeonprem_bare_metal_cluster_generated_test.go @@ -51,6 +51,12 @@ func TestAccGkeonpremBareMetalCluster_gkeonpremBareMetalClusterBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "name"}, }, + { + ResourceName: "google_gkeonprem_bare_metal_cluster.cluster-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkeonprem/resource_gkeonprem_bare_metal_node_pool_generated_test.go b/google/services/gkeonprem/resource_gkeonprem_bare_metal_node_pool_generated_test.go index d8a2f51703d..2f409ce1a0e 100644 --- a/google/services/gkeonprem/resource_gkeonprem_bare_metal_node_pool_generated_test.go +++ b/google/services/gkeonprem/resource_gkeonprem_bare_metal_node_pool_generated_test.go @@ -51,6 +51,12 @@ func TestAccGkeonpremBareMetalNodePool_gkeonpremBareMetalNodePoolBasicExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "bare_metal_cluster", "location", "name"}, }, + { + ResourceName: "google_gkeonprem_bare_metal_node_pool.nodepool-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkeonprem/resource_gkeonprem_vmware_admin_cluster_generated_test.go b/google/services/gkeonprem/resource_gkeonprem_vmware_admin_cluster_generated_test.go index 5127a7eac63..ba8565d8113 100644 --- a/google/services/gkeonprem/resource_gkeonprem_vmware_admin_cluster_generated_test.go +++ b/google/services/gkeonprem/resource_gkeonprem_vmware_admin_cluster_generated_test.go @@ -45,6 +45,12 @@ func TestAccGkeonpremVmwareAdminCluster_gkeonpremVmwareAdminClusterBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "name", "platform_config.0.required_platform_version"}, }, + { + ResourceName: "google_gkeonprem_vmware_admin_cluster.admin-cluster-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkeonprem/resource_gkeonprem_vmware_cluster_generated_test.go b/google/services/gkeonprem/resource_gkeonprem_vmware_cluster_generated_test.go index f571738f51a..68da632945e 100644 --- a/google/services/gkeonprem/resource_gkeonprem_vmware_cluster_generated_test.go +++ b/google/services/gkeonprem/resource_gkeonprem_vmware_cluster_generated_test.go @@ -51,6 +51,12 @@ func TestAccGkeonpremVmwareCluster_gkeonpremVmwareClusterBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "name"}, }, + { + ResourceName: "google_gkeonprem_vmware_cluster.cluster-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/gkeonprem/resource_gkeonprem_vmware_node_pool_generated_test.go b/google/services/gkeonprem/resource_gkeonprem_vmware_node_pool_generated_test.go index e71ed3f919c..238920d0146 100644 --- a/google/services/gkeonprem/resource_gkeonprem_vmware_node_pool_generated_test.go +++ b/google/services/gkeonprem/resource_gkeonprem_vmware_node_pool_generated_test.go @@ -51,6 +51,12 @@ func TestAccGkeonpremVmwareNodePool_gkeonpremVmwareNodePoolBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "name", "vmware_cluster"}, }, + { + ResourceName: "google_gkeonprem_vmware_node_pool.nodepool-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/healthcare/resource_healthcare_consent_store_generated_test.go b/google/services/healthcare/resource_healthcare_consent_store_generated_test.go index 5da9b18cb51..f597b47a626 100644 --- a/google/services/healthcare/resource_healthcare_consent_store_generated_test.go +++ b/google/services/healthcare/resource_healthcare_consent_store_generated_test.go @@ -51,6 +51,12 @@ func TestAccHealthcareConsentStore_healthcareConsentStoreBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"dataset", "labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_healthcare_consent_store.my-consent", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/healthcare/resource_healthcare_dataset_generated_test.go b/google/services/healthcare/resource_healthcare_dataset_generated_test.go index 798e3a02cb4..72c4b020ae5 100644 --- a/google/services/healthcare/resource_healthcare_dataset_generated_test.go +++ b/google/services/healthcare/resource_healthcare_dataset_generated_test.go @@ -51,6 +51,12 @@ func TestAccHealthcareDataset_healthcareDatasetBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "self_link"}, }, + { + ResourceName: "google_healthcare_dataset.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/healthcare/resource_healthcare_dicom_store_generated_test.go b/google/services/healthcare/resource_healthcare_dicom_store_generated_test.go index 7f3f119e6fe..6f2e87cafa9 100644 --- a/google/services/healthcare/resource_healthcare_dicom_store_generated_test.go +++ b/google/services/healthcare/resource_healthcare_dicom_store_generated_test.go @@ -51,6 +51,12 @@ func TestAccHealthcareDicomStore_healthcareDicomStoreBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"dataset", "labels", "self_link", "terraform_labels"}, }, + { + ResourceName: "google_healthcare_dicom_store.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/healthcare/resource_healthcare_fhir_store_generated_test.go b/google/services/healthcare/resource_healthcare_fhir_store_generated_test.go index 5868b0c3ee6..047cf0301da 100644 --- a/google/services/healthcare/resource_healthcare_fhir_store_generated_test.go +++ b/google/services/healthcare/resource_healthcare_fhir_store_generated_test.go @@ -51,6 +51,12 @@ func TestAccHealthcareFhirStore_healthcareFhirStoreBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"dataset", "labels", "self_link", "terraform_labels"}, }, + { + ResourceName: "google_healthcare_fhir_store.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/healthcare/resource_healthcare_hl7_v2_store_generated_test.go b/google/services/healthcare/resource_healthcare_hl7_v2_store_generated_test.go index bb856f29751..5dbac0305bf 100644 --- a/google/services/healthcare/resource_healthcare_hl7_v2_store_generated_test.go +++ b/google/services/healthcare/resource_healthcare_hl7_v2_store_generated_test.go @@ -51,6 +51,12 @@ func TestAccHealthcareHl7V2Store_healthcareHl7V2StoreBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"dataset", "labels", "self_link", "terraform_labels"}, }, + { + ResourceName: "google_healthcare_hl7_v2_store.store", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/healthcare/resource_healthcare_pipeline_job_generated_test.go b/google/services/healthcare/resource_healthcare_pipeline_job_generated_test.go index 768beadf2a5..8100ed5949d 100644 --- a/google/services/healthcare/resource_healthcare_pipeline_job_generated_test.go +++ b/google/services/healthcare/resource_healthcare_pipeline_job_generated_test.go @@ -51,6 +51,12 @@ func TestAccHealthcarePipelineJob_healthcarePipelineJobReconciliationExample(t * ImportStateVerify: true, ImportStateVerifyIgnore: []string{"dataset", "labels", "location", "self_link", "terraform_labels"}, }, + { + ResourceName: "google_healthcare_pipeline_job.example-pipeline", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/healthcare/resource_healthcare_workspace_generated_test.go b/google/services/healthcare/resource_healthcare_workspace_generated_test.go index 60b0c731c6a..04b88b95991 100644 --- a/google/services/healthcare/resource_healthcare_workspace_generated_test.go +++ b/google/services/healthcare/resource_healthcare_workspace_generated_test.go @@ -51,6 +51,12 @@ func TestAccHealthcareWorkspace_healthcareWorkspaceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"dataset", "labels", "terraform_labels"}, }, + { + ResourceName: "google_healthcare_workspace.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iam2/resource_iam_deny_policy_generated_test.go b/google/services/iam2/resource_iam_deny_policy_generated_test.go index d4e9ce315de..66e56e1efe0 100644 --- a/google/services/iam2/resource_iam_deny_policy_generated_test.go +++ b/google/services/iam2/resource_iam_deny_policy_generated_test.go @@ -54,6 +54,12 @@ func TestAccIAM2DenyPolicy_iamDenyPolicyBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name", "parent"}, }, + { + ResourceName: "google_iam_deny_policy.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iam3/resource_iam_folders_policy_binding_generated_test.go b/google/services/iam3/resource_iam_folders_policy_binding_generated_test.go index c1bbfd75287..ff1552a55fa 100644 --- a/google/services/iam3/resource_iam_folders_policy_binding_generated_test.go +++ b/google/services/iam3/resource_iam_folders_policy_binding_generated_test.go @@ -56,6 +56,12 @@ func TestAccIAM3FoldersPolicyBinding_iamFoldersPolicyBindingExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "folder", "location", "policy_binding_id"}, }, + { + ResourceName: "google_iam_folders_policy_binding.binding-for-all-folder-principals", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iam3/resource_iam_organizations_policy_binding_generated_test.go b/google/services/iam3/resource_iam_organizations_policy_binding_generated_test.go index 5df5999859c..7d545ab678a 100644 --- a/google/services/iam3/resource_iam_organizations_policy_binding_generated_test.go +++ b/google/services/iam3/resource_iam_organizations_policy_binding_generated_test.go @@ -56,6 +56,12 @@ func TestAccIAM3OrganizationsPolicyBinding_iamOrganizationsPolicyBindingExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "organization", "policy_binding_id"}, }, + { + ResourceName: "google_iam_organizations_policy_binding.binding-for-all-org-principals", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iam3/resource_iam_principal_access_boundary_policy_generated_test.go b/google/services/iam3/resource_iam_principal_access_boundary_policy_generated_test.go index 202f59d3533..3fe5f1c2e43 100644 --- a/google/services/iam3/resource_iam_principal_access_boundary_policy_generated_test.go +++ b/google/services/iam3/resource_iam_principal_access_boundary_policy_generated_test.go @@ -56,6 +56,12 @@ func TestAccIAM3PrincipalAccessBoundaryPolicy_iamPrincipalAccessBoundaryPolicyEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "organization", "principal_access_boundary_policy_id"}, }, + { + ResourceName: "google_iam_principal_access_boundary_policy.pab-policy-for-org", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iam3/resource_iam_projects_policy_binding_generated_test.go b/google/services/iam3/resource_iam_projects_policy_binding_generated_test.go index e247b583b00..5584cd6ff63 100644 --- a/google/services/iam3/resource_iam_projects_policy_binding_generated_test.go +++ b/google/services/iam3/resource_iam_projects_policy_binding_generated_test.go @@ -56,6 +56,12 @@ func TestAccIAM3ProjectsPolicyBinding_iamProjectsPolicyBindingExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "location", "policy_binding_id"}, }, + { + ResourceName: "google_iam_projects_policy_binding.binding-for-all-project-principals", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iambeta/resource_iam_workload_identity_pool_generated_test.go b/google/services/iambeta/resource_iam_workload_identity_pool_generated_test.go index 3210ce5eb3a..59ba9dcd99b 100644 --- a/google/services/iambeta/resource_iam_workload_identity_pool_generated_test.go +++ b/google/services/iambeta/resource_iam_workload_identity_pool_generated_test.go @@ -51,6 +51,12 @@ func TestAccIAMBetaWorkloadIdentityPool_iamWorkloadIdentityPoolBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"workload_identity_pool_id"}, }, + { + ResourceName: "google_iam_workload_identity_pool.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iambeta/resource_iam_workload_identity_pool_provider_generated_test.go b/google/services/iambeta/resource_iam_workload_identity_pool_provider_generated_test.go index 27755b6a563..b4733b94f92 100644 --- a/google/services/iambeta/resource_iam_workload_identity_pool_provider_generated_test.go +++ b/google/services/iambeta/resource_iam_workload_identity_pool_provider_generated_test.go @@ -51,6 +51,12 @@ func TestAccIAMBetaWorkloadIdentityPoolProvider_iamWorkloadIdentityPoolProviderA ImportStateVerify: true, ImportStateVerifyIgnore: []string{"workload_identity_pool_id", "workload_identity_pool_provider_id"}, }, + { + ResourceName: "google_iam_workload_identity_pool_provider.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iamworkforcepool/resource_iam_oauth_client_credential_generated_test.go b/google/services/iamworkforcepool/resource_iam_oauth_client_credential_generated_test.go index 867921c2cb4..3526c8bc47f 100644 --- a/google/services/iamworkforcepool/resource_iam_oauth_client_credential_generated_test.go +++ b/google/services/iamworkforcepool/resource_iam_oauth_client_credential_generated_test.go @@ -52,6 +52,12 @@ func TestAccIAMWorkforcePoolOauthClientCredential_iamOauthClientCredentialFullEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "oauth_client_credential_id", "oauthclient"}, }, + { + ResourceName: "google_iam_oauth_client_credential.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iamworkforcepool/resource_iam_oauth_client_generated_test.go b/google/services/iamworkforcepool/resource_iam_oauth_client_generated_test.go index 9ae595402d6..7e5a17d14f9 100644 --- a/google/services/iamworkforcepool/resource_iam_oauth_client_generated_test.go +++ b/google/services/iamworkforcepool/resource_iam_oauth_client_generated_test.go @@ -51,6 +51,12 @@ func TestAccIAMWorkforcePoolOauthClient_iamOauthClientFullExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "oauth_client_id"}, }, + { + ResourceName: "google_iam_oauth_client.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iamworkforcepool/resource_iam_workforce_pool_generated_test.go b/google/services/iamworkforcepool/resource_iam_workforce_pool_generated_test.go index 3072a53cab9..09a1ca06727 100644 --- a/google/services/iamworkforcepool/resource_iam_workforce_pool_generated_test.go +++ b/google/services/iamworkforcepool/resource_iam_workforce_pool_generated_test.go @@ -53,6 +53,12 @@ func TestAccIAMWorkforcePoolWorkforcePool_iamWorkforcePoolBasicExample(t *testin ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "workforce_pool_id"}, }, + { + ResourceName: "google_iam_workforce_pool.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iamworkforcepool/resource_iam_workforce_pool_provider_generated_test.go b/google/services/iamworkforcepool/resource_iam_workforce_pool_provider_generated_test.go index 0e848332e5c..fbee45a06f0 100644 --- a/google/services/iamworkforcepool/resource_iam_workforce_pool_provider_generated_test.go +++ b/google/services/iamworkforcepool/resource_iam_workforce_pool_provider_generated_test.go @@ -53,6 +53,12 @@ func TestAccIAMWorkforcePoolWorkforcePoolProvider_iamWorkforcePoolProviderSamlBa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "provider_id", "workforce_pool_id"}, }, + { + ResourceName: "google_iam_workforce_pool_provider.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iamworkforcepool/resource_iam_workforce_pool_provider_key_generated_test.go b/google/services/iamworkforcepool/resource_iam_workforce_pool_provider_key_generated_test.go index 6e7f9bdcd64..abba9e3ca03 100644 --- a/google/services/iamworkforcepool/resource_iam_workforce_pool_provider_key_generated_test.go +++ b/google/services/iamworkforcepool/resource_iam_workforce_pool_provider_key_generated_test.go @@ -53,6 +53,12 @@ func TestAccIAMWorkforcePoolWorkforcePoolProviderKey_iamWorkforcePoolProviderSam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"key_id", "location", "provider_id", "workforce_pool_id"}, }, + { + ResourceName: "google_iam_workforce_pool_provider_key.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iap/resource_iap_client_generated_test.go b/google/services/iap/resource_iap_client_generated_test.go index ad7da5dc6cb..d8be2891a64 100644 --- a/google/services/iap/resource_iap_client_generated_test.go +++ b/google/services/iap/resource_iap_client_generated_test.go @@ -54,6 +54,12 @@ func TestAccIapClient_iapClientExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"brand"}, }, + { + ResourceName: "google_iap_client.project_client", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iap/resource_iap_settings_generated_test.go b/google/services/iap/resource_iap_settings_generated_test.go index a1756570ff7..57bbd265924 100644 --- a/google/services/iap/resource_iap_settings_generated_test.go +++ b/google/services/iap/resource_iap_settings_generated_test.go @@ -49,6 +49,12 @@ func TestAccIapSettings_iapSettingsBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"access_settings.0.workforce_identity_settings.0.oauth2.0.client_secret", "name"}, }, + { + ResourceName: "google_iap_settings.iap_settings", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/iap/resource_iap_tunnel_dest_group_generated_test.go b/google/services/iap/resource_iap_tunnel_dest_group_generated_test.go index c25877304c5..fdb622ea93f 100644 --- a/google/services/iap/resource_iap_tunnel_dest_group_generated_test.go +++ b/google/services/iap/resource_iap_tunnel_dest_group_generated_test.go @@ -55,6 +55,12 @@ func TestAccIapTunnelDestGroup_iapDestgroupExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"group_name", "region"}, }, + { + ResourceName: "google_iap_tunnel_dest_group.dest_group", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/identityplatform/resource_identity_platform_config_generated_test.go b/google/services/identityplatform/resource_identity_platform_config_generated_test.go index f7301e528e3..a61d19104e4 100644 --- a/google/services/identityplatform/resource_identity_platform_config_generated_test.go +++ b/google/services/identityplatform/resource_identity_platform_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccIdentityPlatformConfig_identityPlatformConfigBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"client.0.api_key", "client.0.firebase_subdomain"}, }, + { + ResourceName: "google_identity_platform_config.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/identityplatform/resource_identity_platform_inbound_saml_config_generated_test.go b/google/services/identityplatform/resource_identity_platform_inbound_saml_config_generated_test.go index 328f35bd866..9115cdb97e0 100644 --- a/google/services/identityplatform/resource_identity_platform_inbound_saml_config_generated_test.go +++ b/google/services/identityplatform/resource_identity_platform_inbound_saml_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccIdentityPlatformInboundSamlConfig_identityPlatformInboundSamlConfigB ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_identity_platform_inbound_saml_config.saml_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/identityplatform/resource_identity_platform_oauth_idp_config_generated_test.go b/google/services/identityplatform/resource_identity_platform_oauth_idp_config_generated_test.go index e92e2aee92b..03dda07972a 100644 --- a/google/services/identityplatform/resource_identity_platform_oauth_idp_config_generated_test.go +++ b/google/services/identityplatform/resource_identity_platform_oauth_idp_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccIdentityPlatformOauthIdpConfig_identityPlatformOauthIdpConfigBasicEx ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_identity_platform_oauth_idp_config.oauth_idp_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/identityplatform/resource_identity_platform_tenant_default_supported_idp_config_generated_test.go b/google/services/identityplatform/resource_identity_platform_tenant_default_supported_idp_config_generated_test.go index 48d9432b0c3..c5e2985f898 100644 --- a/google/services/identityplatform/resource_identity_platform_tenant_default_supported_idp_config_generated_test.go +++ b/google/services/identityplatform/resource_identity_platform_tenant_default_supported_idp_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccIdentityPlatformTenantDefaultSupportedIdpConfig_identityPlatformTena ImportStateVerify: true, ImportStateVerifyIgnore: []string{"idp_id", "tenant"}, }, + { + ResourceName: "google_identity_platform_tenant_default_supported_idp_config.idp_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/identityplatform/resource_identity_platform_tenant_generated_test.go b/google/services/identityplatform/resource_identity_platform_tenant_generated_test.go index f208c8120ff..1bd72c50629 100644 --- a/google/services/identityplatform/resource_identity_platform_tenant_generated_test.go +++ b/google/services/identityplatform/resource_identity_platform_tenant_generated_test.go @@ -50,6 +50,12 @@ func TestAccIdentityPlatformTenant_identityPlatformTenantBasicExample(t *testing ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_identity_platform_tenant.tenant", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/identityplatform/resource_identity_platform_tenant_inbound_saml_config_generated_test.go b/google/services/identityplatform/resource_identity_platform_tenant_inbound_saml_config_generated_test.go index 8458260dec6..67fb0049799 100644 --- a/google/services/identityplatform/resource_identity_platform_tenant_inbound_saml_config_generated_test.go +++ b/google/services/identityplatform/resource_identity_platform_tenant_inbound_saml_config_generated_test.go @@ -52,6 +52,12 @@ func TestAccIdentityPlatformTenantInboundSamlConfig_identityPlatformTenantInboun ImportStateVerify: true, ImportStateVerifyIgnore: []string{"tenant"}, }, + { + ResourceName: "google_identity_platform_tenant_inbound_saml_config.tenant_saml_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/identityplatform/resource_identity_platform_tenant_oauth_idp_config_generated_test.go b/google/services/identityplatform/resource_identity_platform_tenant_oauth_idp_config_generated_test.go index 906e1b7e467..1cd06d0a36e 100644 --- a/google/services/identityplatform/resource_identity_platform_tenant_oauth_idp_config_generated_test.go +++ b/google/services/identityplatform/resource_identity_platform_tenant_oauth_idp_config_generated_test.go @@ -52,6 +52,12 @@ func TestAccIdentityPlatformTenantOauthIdpConfig_identityPlatformTenantOauthIdpC ImportStateVerify: true, ImportStateVerifyIgnore: []string{"tenant"}, }, + { + ResourceName: "google_identity_platform_tenant_oauth_idp_config.tenant_oauth_idp_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/integrationconnectors/resource_integration_connectors_endpoint_attachment_generated_test.go b/google/services/integrationconnectors/resource_integration_connectors_endpoint_attachment_generated_test.go index d4b86511c21..6501e10757d 100644 --- a/google/services/integrationconnectors/resource_integration_connectors_endpoint_attachment_generated_test.go +++ b/google/services/integrationconnectors/resource_integration_connectors_endpoint_attachment_generated_test.go @@ -51,6 +51,12 @@ func TestAccIntegrationConnectorsEndpointAttachment_integrationConnectorsEndpoin ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_integration_connectors_endpoint_attachment.sampleendpointattachment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/integrationconnectors/resource_integration_connectors_managed_zone_generated_test.go b/google/services/integrationconnectors/resource_integration_connectors_managed_zone_generated_test.go index a1869f00023..29cc8dce2ea 100644 --- a/google/services/integrationconnectors/resource_integration_connectors_managed_zone_generated_test.go +++ b/google/services/integrationconnectors/resource_integration_connectors_managed_zone_generated_test.go @@ -55,6 +55,12 @@ func TestAccIntegrationConnectorsManagedZone_integrationConnectorsManagedZoneExa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_integration_connectors_managed_zone.testmanagedzone", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/integrations/resource_integrations_auth_config_generated_test.go b/google/services/integrations/resource_integrations_auth_config_generated_test.go index 99051b29222..a1c7511f875 100644 --- a/google/services/integrations/resource_integrations_auth_config_generated_test.go +++ b/google/services/integrations/resource_integrations_auth_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccIntegrationsAuthConfig_integrationsAuthConfigAdvanceExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"client_certificate", "location"}, }, + { + ResourceName: "google_integrations_auth_config.advance_example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/integrations/resource_integrations_client_generated_test.go b/google/services/integrations/resource_integrations_client_generated_test.go index 8c7f8e2ae68..0e325884660 100644 --- a/google/services/integrations/resource_integrations_client_generated_test.go +++ b/google/services/integrations/resource_integrations_client_generated_test.go @@ -51,6 +51,12 @@ func TestAccIntegrationsClient_integrationsClientBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"cloud_kms_config", "create_sample_integrations", "location", "run_as_service_account"}, }, + { + ResourceName: "google_integrations_client.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/logging/resource_logging_folder_settings_generated_test.go b/google/services/logging/resource_logging_folder_settings_generated_test.go index 5972c2bb3ba..2e21dfebaf4 100644 --- a/google/services/logging/resource_logging_folder_settings_generated_test.go +++ b/google/services/logging/resource_logging_folder_settings_generated_test.go @@ -48,6 +48,12 @@ func TestAccLoggingFolderSettings_loggingFolderSettingsAllExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"folder"}, }, + { + ResourceName: "google_logging_folder_settings.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/logging/resource_logging_linked_dataset_generated_test.go b/google/services/logging/resource_logging_linked_dataset_generated_test.go index d64c6700c83..24479d4d502 100644 --- a/google/services/logging/resource_logging_linked_dataset_generated_test.go +++ b/google/services/logging/resource_logging_linked_dataset_generated_test.go @@ -53,6 +53,12 @@ func TestAccLoggingLinkedDataset_loggingLinkedDatasetBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"bucket", "link_id", "location", "parent"}, }, + { + ResourceName: "google_logging_linked_dataset.logging_linked_dataset", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/logging/resource_logging_log_scope_generated_test.go b/google/services/logging/resource_logging_log_scope_generated_test.go index e9402e4087d..d3c55571011 100644 --- a/google/services/logging/resource_logging_log_scope_generated_test.go +++ b/google/services/logging/resource_logging_log_scope_generated_test.go @@ -53,6 +53,12 @@ func TestAccLoggingLogScope_loggingLogScopeBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name", "parent"}, }, + { + ResourceName: "google_logging_log_scope.logging_log_scope", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/logging/resource_logging_log_view_generated_test.go b/google/services/logging/resource_logging_log_view_generated_test.go index 1b1c499e0a1..3d353398c22 100644 --- a/google/services/logging/resource_logging_log_view_generated_test.go +++ b/google/services/logging/resource_logging_log_view_generated_test.go @@ -53,6 +53,12 @@ func TestAccLoggingLogView_loggingLogViewBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"bucket", "location", "name", "parent"}, }, + { + ResourceName: "google_logging_log_view.logging_log_view", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/logging/resource_logging_metric_generated_test.go b/google/services/logging/resource_logging_metric_generated_test.go index 6fd17921532..0d3e0131ea1 100644 --- a/google/services/logging/resource_logging_metric_generated_test.go +++ b/google/services/logging/resource_logging_metric_generated_test.go @@ -51,6 +51,12 @@ func TestAccLoggingMetric_loggingMetricBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_logging_metric.logging_metric", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/looker/resource_looker_instance_generated_test.go b/google/services/looker/resource_looker_instance_generated_test.go index 3b33200b9d2..890373468de 100644 --- a/google/services/looker/resource_looker_instance_generated_test.go +++ b/google/services/looker/resource_looker_instance_generated_test.go @@ -51,6 +51,12 @@ func TestAccLookerInstance_lookerInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name", "oauth_config", "region"}, }, + { + ResourceName: "google_looker_instance.looker-instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/lustre/resource_lustre_instance_generated_test.go b/google/services/lustre/resource_lustre_instance_generated_test.go index 170ee87cfb3..3a162245ca0 100644 --- a/google/services/lustre/resource_lustre_instance_generated_test.go +++ b/google/services/lustre/resource_lustre_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccLustreInstance_lustreInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_lustre_instance.instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/managedkafka/resource_managed_kafka_acl_generated_test.go b/google/services/managedkafka/resource_managed_kafka_acl_generated_test.go index ee06e4d0982..d2b0480990e 100644 --- a/google/services/managedkafka/resource_managed_kafka_acl_generated_test.go +++ b/google/services/managedkafka/resource_managed_kafka_acl_generated_test.go @@ -52,6 +52,12 @@ func TestAccManagedKafkaAcl_managedkafkaAclBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"acl_id", "cluster", "location"}, }, + { + ResourceName: "google_managed_kafka_acl.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/managedkafka/resource_managed_kafka_cluster_generated_test.go b/google/services/managedkafka/resource_managed_kafka_cluster_generated_test.go index b8996117e27..26884545ef0 100644 --- a/google/services/managedkafka/resource_managed_kafka_cluster_generated_test.go +++ b/google/services/managedkafka/resource_managed_kafka_cluster_generated_test.go @@ -51,6 +51,12 @@ func TestAccManagedKafkaCluster_managedkafkaClusterBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"cluster_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_managed_kafka_cluster.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/managedkafka/resource_managed_kafka_topic_generated_test.go b/google/services/managedkafka/resource_managed_kafka_topic_generated_test.go index daf70db8eac..da1b4d5ae62 100644 --- a/google/services/managedkafka/resource_managed_kafka_topic_generated_test.go +++ b/google/services/managedkafka/resource_managed_kafka_topic_generated_test.go @@ -51,6 +51,12 @@ func TestAccManagedKafkaTopic_managedkafkaTopicBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"cluster", "location", "topic_id"}, }, + { + ResourceName: "google_managed_kafka_topic.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/memcache/resource_memcache_instance_generated_test.go b/google/services/memcache/resource_memcache_instance_generated_test.go index 7108b6d098d..5b4f4c4ae5b 100644 --- a/google/services/memcache/resource_memcache_instance_generated_test.go +++ b/google/services/memcache/resource_memcache_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccMemcacheInstance_memcacheInstanceBasicTestExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "region", "reserved_ip_range_id", "terraform_labels"}, }, + { + ResourceName: "google_memcache_instance.instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/memorystore/resource_memorystore_instance_desired_user_created_endpoints_generated_test.go b/google/services/memorystore/resource_memorystore_instance_desired_user_created_endpoints_generated_test.go index f0507d5e819..9faaf160885 100644 --- a/google/services/memorystore/resource_memorystore_instance_desired_user_created_endpoints_generated_test.go +++ b/google/services/memorystore/resource_memorystore_instance_desired_user_created_endpoints_generated_test.go @@ -51,6 +51,12 @@ func TestAccMemorystoreInstanceDesiredUserCreatedEndpoints_memorystoreInstanceDe ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name", "region"}, }, + { + ResourceName: "google_memorystore_instance_desired_user_created_endpoints.instance-user-conn", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/memorystore/resource_memorystore_instance_generated_test.go b/google/services/memorystore/resource_memorystore_instance_generated_test.go index 3af73be0845..76a872a6a2e 100644 --- a/google/services/memorystore/resource_memorystore_instance_generated_test.go +++ b/google/services/memorystore/resource_memorystore_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccMemorystoreInstance_memorystoreInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"gcs_source", "instance_id", "labels", "location", "managed_backup_source", "terraform_labels"}, }, + { + ResourceName: "google_memorystore_instance.instance-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/migrationcenter/resource_migration_center_group_generated_test.go b/google/services/migrationcenter/resource_migration_center_group_generated_test.go index 805499daac7..ce2fe6320ac 100644 --- a/google/services/migrationcenter/resource_migration_center_group_generated_test.go +++ b/google/services/migrationcenter/resource_migration_center_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccMigrationCenterGroup_migrationGroupBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"group_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_migration_center_group.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/migrationcenter/resource_migration_center_preference_set_generated_test.go b/google/services/migrationcenter/resource_migration_center_preference_set_generated_test.go index 13b97795229..3760d094098 100644 --- a/google/services/migrationcenter/resource_migration_center_preference_set_generated_test.go +++ b/google/services/migrationcenter/resource_migration_center_preference_set_generated_test.go @@ -51,6 +51,12 @@ func TestAccMigrationCenterPreferenceSet_preferenceSetBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "preference_set_id"}, }, + { + ResourceName: "google_migration_center_preference_set.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/modelarmor/resource_model_armor_template_generated_test.go b/google/services/modelarmor/resource_model_armor_template_generated_test.go index c2cb5377728..612fced7c23 100644 --- a/google/services/modelarmor/resource_model_armor_template_generated_test.go +++ b/google/services/modelarmor/resource_model_armor_template_generated_test.go @@ -53,6 +53,12 @@ func TestAccModelArmorTemplate_modelarmorTemplateBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "template_id", "terraform_labels"}, }, + { + ResourceName: "google_model_armor_template.template-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/monitoring/resource_monitoring_custom_service_generated_test.go b/google/services/monitoring/resource_monitoring_custom_service_generated_test.go index bbdaaeaf4dd..7b8b3af3f78 100644 --- a/google/services/monitoring/resource_monitoring_custom_service_generated_test.go +++ b/google/services/monitoring/resource_monitoring_custom_service_generated_test.go @@ -50,6 +50,12 @@ func TestAccMonitoringService_monitoringServiceCustomExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_monitoring_custom_service.custom", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/monitoring/resource_monitoring_group_generated_test.go b/google/services/monitoring/resource_monitoring_group_generated_test.go index 8bb8a03d663..a351d8085f1 100644 --- a/google/services/monitoring/resource_monitoring_group_generated_test.go +++ b/google/services/monitoring/resource_monitoring_group_generated_test.go @@ -50,6 +50,12 @@ func TestAccMonitoringGroup_monitoringGroupBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_monitoring_group.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/monitoring/resource_monitoring_metric_descriptor_generated_test.go b/google/services/monitoring/resource_monitoring_metric_descriptor_generated_test.go index 7506b5589cb..26055ad1c56 100644 --- a/google/services/monitoring/resource_monitoring_metric_descriptor_generated_test.go +++ b/google/services/monitoring/resource_monitoring_metric_descriptor_generated_test.go @@ -51,6 +51,12 @@ func TestAccMonitoringMetricDescriptor_monitoringMetricDescriptorBasicExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"launch_stage", "metadata"}, }, + { + ResourceName: "google_monitoring_metric_descriptor.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/monitoring/resource_monitoring_monitored_project_generated_test.go b/google/services/monitoring/resource_monitoring_monitored_project_generated_test.go index f13131c961e..1d8e42e5f64 100644 --- a/google/services/monitoring/resource_monitoring_monitored_project_generated_test.go +++ b/google/services/monitoring/resource_monitoring_monitored_project_generated_test.go @@ -55,6 +55,12 @@ func TestAccMonitoringMonitoredProject_monitoringMonitoredProjectBasicExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"metrics_scope"}, }, + { + ResourceName: "google_monitoring_monitored_project.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/monitoring/resource_monitoring_notification_channel_generated_test.go b/google/services/monitoring/resource_monitoring_notification_channel_generated_test.go index bba499aa75e..81fc8d390de 100644 --- a/google/services/monitoring/resource_monitoring_notification_channel_generated_test.go +++ b/google/services/monitoring/resource_monitoring_notification_channel_generated_test.go @@ -51,6 +51,12 @@ func TestAccMonitoringNotificationChannel_notificationChannelBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"sensitive_labels"}, }, + { + ResourceName: "google_monitoring_notification_channel.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/monitoring/resource_monitoring_service_generated_test.go b/google/services/monitoring/resource_monitoring_service_generated_test.go index 19ed5139edc..c2b17313ec9 100644 --- a/google/services/monitoring/resource_monitoring_service_generated_test.go +++ b/google/services/monitoring/resource_monitoring_service_generated_test.go @@ -51,6 +51,12 @@ func TestAccMonitoringGenericService_monitoringServiceExampleExample(t *testing. ImportStateVerify: true, ImportStateVerifyIgnore: []string{"service_id"}, }, + { + ResourceName: "google_monitoring_service.my_service", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/monitoring/resource_monitoring_slo_generated_test.go b/google/services/monitoring/resource_monitoring_slo_generated_test.go index f18bc699614..cd42aa760cd 100644 --- a/google/services/monitoring/resource_monitoring_slo_generated_test.go +++ b/google/services/monitoring/resource_monitoring_slo_generated_test.go @@ -52,6 +52,12 @@ func TestAccMonitoringSlo_monitoringSloAppengineExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"service"}, }, + { + ResourceName: "google_monitoring_slo.appeng_slo", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/monitoring/resource_monitoring_uptime_check_config_generated_test.go b/google/services/monitoring/resource_monitoring_uptime_check_config_generated_test.go index 11f90ee3103..fc6a72487e0 100644 --- a/google/services/monitoring/resource_monitoring_uptime_check_config_generated_test.go +++ b/google/services/monitoring/resource_monitoring_uptime_check_config_generated_test.go @@ -53,6 +53,12 @@ func TestAccMonitoringUptimeCheckConfig_uptimeCheckConfigHttpExample(t *testing. ImportStateVerify: true, ImportStateVerifyIgnore: []string{"http_check.0.auth_info.0.password_wo_version"}, }, + { + ResourceName: "google_monitoring_uptime_check_config.http", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_active_directory_generated_test.go b/google/services/netapp/resource_netapp_active_directory_generated_test.go index f5a491d7d51..7352f968233 100644 --- a/google/services/netapp/resource_netapp_active_directory_generated_test.go +++ b/google/services/netapp/resource_netapp_active_directory_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetappActiveDirectory_netappActiveDirectoryFullExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "password", "terraform_labels"}, }, + { + ResourceName: "google_netapp_active_directory.test_active_directory_full", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_backup_generated_test.go b/google/services/netapp/resource_netapp_backup_generated_test.go index b8a67e5357e..b9a47ce0b66 100644 --- a/google/services/netapp/resource_netapp_backup_generated_test.go +++ b/google/services/netapp/resource_netapp_backup_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetappBackup_netappBackupExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels", "vault_name"}, }, + { + ResourceName: "google_netapp_backup.test_backup", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_backup_policy_generated_test.go b/google/services/netapp/resource_netapp_backup_policy_generated_test.go index e4ca6737999..a0af556de5d 100644 --- a/google/services/netapp/resource_netapp_backup_policy_generated_test.go +++ b/google/services/netapp/resource_netapp_backup_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetappBackupPolicy_netappBackupPolicyFullExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_netapp_backup_policy.test_backup_policy_full", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_kmsconfig_generated_test.go b/google/services/netapp/resource_netapp_kmsconfig_generated_test.go index 93b9464ecd7..ba082f41933 100644 --- a/google/services/netapp/resource_netapp_kmsconfig_generated_test.go +++ b/google/services/netapp/resource_netapp_kmsconfig_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetappkmsconfig_kmsConfigCreateExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_netapp_kmsconfig.kmsConfig", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_storage_pool_generated_test.go b/google/services/netapp/resource_netapp_storage_pool_generated_test.go index 80fddabd713..f5bcdbc8440 100644 --- a/google/services/netapp/resource_netapp_storage_pool_generated_test.go +++ b/google/services/netapp/resource_netapp_storage_pool_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetappStoragePool_storagePoolCreateExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_netapp_storage_pool.test_pool", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_volume_generated_test.go b/google/services/netapp/resource_netapp_volume_generated_test.go index 94c22592070..91e0022a7a4 100644 --- a/google/services/netapp/resource_netapp_volume_generated_test.go +++ b/google/services/netapp/resource_netapp_volume_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetappVolume_netappVolumeBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"deletion_policy", "labels", "location", "name", "restore_parameters", "terraform_labels"}, }, + { + ResourceName: "google_netapp_volume.test_volume", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_volume_quota_rule_generated_test.go b/google/services/netapp/resource_netapp_volume_quota_rule_generated_test.go index a871c421f89..23b50d0de0b 100644 --- a/google/services/netapp/resource_netapp_volume_quota_rule_generated_test.go +++ b/google/services/netapp/resource_netapp_volume_quota_rule_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetappVolumeQuotaRule_netappVolumeQuotaRuleBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels", "volume_name"}, }, + { + ResourceName: "google_netapp_volume_quota_rule.test_quota_rule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_volume_replication_generated_test.go b/google/services/netapp/resource_netapp_volume_replication_generated_test.go index e83a5b18817..6682d5f3c7e 100644 --- a/google/services/netapp/resource_netapp_volume_replication_generated_test.go +++ b/google/services/netapp/resource_netapp_volume_replication_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetappVolumeReplication_netappVolumeReplicationCreateExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"delete_destination_volume", "destination_volume_parameters", "force_stopping", "labels", "location", "name", "replication_enabled", "terraform_labels", "volume_name", "wait_for_mirror"}, }, + { + ResourceName: "google_netapp_volume_replication.test_replication", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/netapp/resource_netapp_volume_snapshot_generated_test.go b/google/services/netapp/resource_netapp_volume_snapshot_generated_test.go index b1d39aa8095..0021f2e5306 100644 --- a/google/services/netapp/resource_netapp_volume_snapshot_generated_test.go +++ b/google/services/netapp/resource_netapp_volume_snapshot_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetappVolumeSnapshot_volumeSnapshotCreateExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels", "volume_name"}, }, + { + ResourceName: "google_netapp_volume_snapshot.test_snapshot", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkconnectivity/resource_network_connectivity_group_generated_test.go b/google/services/networkconnectivity/resource_network_connectivity_group_generated_test.go index c0759ab89aa..6fc48e2375b 100644 --- a/google/services/networkconnectivity/resource_network_connectivity_group_generated_test.go +++ b/google/services/networkconnectivity/resource_network_connectivity_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkConnectivityGroup_networkConnectivityGroupBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"hub", "labels", "terraform_labels"}, }, + { + ResourceName: "google_network_connectivity_group.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkconnectivity/resource_network_connectivity_hub_generated_test.go b/google/services/networkconnectivity/resource_network_connectivity_hub_generated_test.go index 7504b86b6fb..457fb479789 100644 --- a/google/services/networkconnectivity/resource_network_connectivity_hub_generated_test.go +++ b/google/services/networkconnectivity/resource_network_connectivity_hub_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkConnectivityHub_networkConnectivityHubBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "terraform_labels"}, }, + { + ResourceName: "google_network_connectivity_hub.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkconnectivity/resource_network_connectivity_internal_range_generated_test.go b/google/services/networkconnectivity/resource_network_connectivity_internal_range_generated_test.go index 5cc4d423801..22523f625a0 100644 --- a/google/services/networkconnectivity/resource_network_connectivity_internal_range_generated_test.go +++ b/google/services/networkconnectivity/resource_network_connectivity_internal_range_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkConnectivityInternalRange_networkConnectivityInternalRangesBa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "network", "terraform_labels"}, }, + { + ResourceName: "google_network_connectivity_internal_range.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkconnectivity/resource_network_connectivity_policy_based_route_generated_test.go b/google/services/networkconnectivity/resource_network_connectivity_policy_based_route_generated_test.go index 69046618c29..7c072e4609a 100644 --- a/google/services/networkconnectivity/resource_network_connectivity_policy_based_route_generated_test.go +++ b/google/services/networkconnectivity/resource_network_connectivity_policy_based_route_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkConnectivityPolicyBasedRoute_networkConnectivityPolicyBasedRo ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_connectivity_policy_based_route.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkconnectivity/resource_network_connectivity_regional_endpoint_generated_test.go b/google/services/networkconnectivity/resource_network_connectivity_regional_endpoint_generated_test.go index 4b770aba696..82248b5e618 100644 --- a/google/services/networkconnectivity/resource_network_connectivity_regional_endpoint_generated_test.go +++ b/google/services/networkconnectivity/resource_network_connectivity_regional_endpoint_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkConnectivityRegionalEndpoint_networkConnectivityRegionalEndpo ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_connectivity_regional_endpoint.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkconnectivity/resource_network_connectivity_service_connection_policy_generated_test.go b/google/services/networkconnectivity/resource_network_connectivity_service_connection_policy_generated_test.go index 9cb0407f705..0b3fc171abf 100644 --- a/google/services/networkconnectivity/resource_network_connectivity_service_connection_policy_generated_test.go +++ b/google/services/networkconnectivity/resource_network_connectivity_service_connection_policy_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetworkConnectivityServiceConnectionPolicy_networkConnectivityPolicy ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_connectivity_service_connection_policy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkconnectivity/resource_network_connectivity_spoke_generated_test.go b/google/services/networkconnectivity/resource_network_connectivity_spoke_generated_test.go index 040df892b89..7d3f7ae9449 100644 --- a/google/services/networkconnectivity/resource_network_connectivity_spoke_generated_test.go +++ b/google/services/networkconnectivity/resource_network_connectivity_spoke_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkConnectivitySpoke_networkConnectivitySpokeLinkedVpcNetworkBas ImportStateVerify: true, ImportStateVerifyIgnore: []string{"hub", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_network_connectivity_spoke.primary", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkmanagement/resource_network_management_connectivity_test_resource_generated_test.go b/google/services/networkmanagement/resource_network_management_connectivity_test_resource_generated_test.go index a1d3b80448e..4213fdc5259 100644 --- a/google/services/networkmanagement/resource_network_management_connectivity_test_resource_generated_test.go +++ b/google/services/networkmanagement/resource_network_management_connectivity_test_resource_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkManagementConnectivityTest_networkManagementConnectivityTestI ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "terraform_labels"}, }, + { + ResourceName: "google_network_management_connectivity_test.instance-test", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkmanagement/resource_network_management_vpc_flow_logs_config_generated_test.go b/google/services/networkmanagement/resource_network_management_vpc_flow_logs_config_generated_test.go index 4ccbaa3cef1..30f282193c8 100644 --- a/google/services/networkmanagement/resource_network_management_vpc_flow_logs_config_generated_test.go +++ b/google/services/networkmanagement/resource_network_management_vpc_flow_logs_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkManagementVpcFlowLogsConfig_networkManagementVpcFlowLogsConfi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels", "vpc_flow_logs_config_id"}, }, + { + ResourceName: "google_network_management_vpc_flow_logs_config.interconnect-test", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_address_group_generated_test.go b/google/services/networksecurity/resource_network_security_address_group_generated_test.go index 4eaa26b031a..ded97c8079d 100644 --- a/google/services/networksecurity/resource_network_security_address_group_generated_test.go +++ b/google/services/networksecurity/resource_network_security_address_group_generated_test.go @@ -53,6 +53,12 @@ func TestAccNetworkSecurityAddressGroup_networkSecurityAddressGroupsBasicExample ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "parent", "terraform_labels"}, }, + { + ResourceName: "google_network_security_address_group.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_authz_policy_generated_test.go b/google/services/networksecurity/resource_network_security_authz_policy_generated_test.go index e6a3876f7cb..1d7237193cb 100644 --- a/google/services/networksecurity/resource_network_security_authz_policy_generated_test.go +++ b/google/services/networksecurity/resource_network_security_authz_policy_generated_test.go @@ -53,6 +53,12 @@ func TestAccNetworkSecurityAuthzPolicy_networkServicesAuthzPolicyAdvancedExample ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_network_security_authz_policy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_backend_authentication_config_generated_test.go b/google/services/networksecurity/resource_network_security_backend_authentication_config_generated_test.go index a83a475a530..c5231e01015 100644 --- a/google/services/networksecurity/resource_network_security_backend_authentication_config_generated_test.go +++ b/google/services/networksecurity/resource_network_security_backend_authentication_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityBackendAuthenticationConfig_networkSecurityBackendAut ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_security_backend_authentication_config.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_client_tls_policy_generated_test.go b/google/services/networksecurity/resource_network_security_client_tls_policy_generated_test.go index d4b0bbe1aff..e0f3759a643 100644 --- a/google/services/networksecurity/resource_network_security_client_tls_policy_generated_test.go +++ b/google/services/networksecurity/resource_network_security_client_tls_policy_generated_test.go @@ -52,6 +52,12 @@ func TestAccNetworkSecurityClientTlsPolicy_networkSecurityClientTlsPolicyBasicEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_security_client_tls_policy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_gateway_security_policy_generated_test.go b/google/services/networksecurity/resource_network_security_gateway_security_policy_generated_test.go index d2776cdf8de..eda8ef1f011 100644 --- a/google/services/networksecurity/resource_network_security_gateway_security_policy_generated_test.go +++ b/google/services/networksecurity/resource_network_security_gateway_security_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityGatewaySecurityPolicy_networkSecurityGatewaySecurityP ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name", "tls_inspection_policy"}, }, + { + ResourceName: "google_network_security_gateway_security_policy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_gateway_security_policy_rule_generated_test.go b/google/services/networksecurity/resource_network_security_gateway_security_policy_rule_generated_test.go index 6c8e4119bc1..a96b3702c83 100644 --- a/google/services/networksecurity/resource_network_security_gateway_security_policy_rule_generated_test.go +++ b/google/services/networksecurity/resource_network_security_gateway_security_policy_rule_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityGatewaySecurityPolicyRule_networkSecurityGatewaySecur ImportStateVerify: true, ImportStateVerifyIgnore: []string{"gateway_security_policy", "location", "name"}, }, + { + ResourceName: "google_network_security_gateway_security_policy_rule.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_intercept_deployment_generated_test.go b/google/services/networksecurity/resource_network_security_intercept_deployment_generated_test.go index 1729de03487..c67b0fe9df6 100644 --- a/google/services/networksecurity/resource_network_security_intercept_deployment_generated_test.go +++ b/google/services/networksecurity/resource_network_security_intercept_deployment_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityInterceptDeployment_networkSecurityInterceptDeploymen ImportStateVerify: true, ImportStateVerifyIgnore: []string{"intercept_deployment_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_network_security_intercept_deployment.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_intercept_deployment_group_generated_test.go b/google/services/networksecurity/resource_network_security_intercept_deployment_group_generated_test.go index aa5f4f225b5..a6072d0b39b 100644 --- a/google/services/networksecurity/resource_network_security_intercept_deployment_group_generated_test.go +++ b/google/services/networksecurity/resource_network_security_intercept_deployment_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityInterceptDeploymentGroup_networkSecurityInterceptDepl ImportStateVerify: true, ImportStateVerifyIgnore: []string{"intercept_deployment_group_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_network_security_intercept_deployment_group.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_intercept_endpoint_group_association_generated_test.go b/google/services/networksecurity/resource_network_security_intercept_endpoint_group_association_generated_test.go index 57d346e49f9..cb233d98f24 100644 --- a/google/services/networksecurity/resource_network_security_intercept_endpoint_group_association_generated_test.go +++ b/google/services/networksecurity/resource_network_security_intercept_endpoint_group_association_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityInterceptEndpointGroupAssociation_networkSecurityInte ImportStateVerify: true, ImportStateVerifyIgnore: []string{"intercept_endpoint_group_association_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_network_security_intercept_endpoint_group_association.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_intercept_endpoint_group_generated_test.go b/google/services/networksecurity/resource_network_security_intercept_endpoint_group_generated_test.go index f6f0278fc7d..827e32c1a7b 100644 --- a/google/services/networksecurity/resource_network_security_intercept_endpoint_group_generated_test.go +++ b/google/services/networksecurity/resource_network_security_intercept_endpoint_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityInterceptEndpointGroup_networkSecurityInterceptEndpoi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"intercept_endpoint_group_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_network_security_intercept_endpoint_group.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_mirroring_deployment_generated_test.go b/google/services/networksecurity/resource_network_security_mirroring_deployment_generated_test.go index a07b4e9d6d5..929ab0e52f9 100644 --- a/google/services/networksecurity/resource_network_security_mirroring_deployment_generated_test.go +++ b/google/services/networksecurity/resource_network_security_mirroring_deployment_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityMirroringDeployment_networkSecurityMirroringDeploymen ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "mirroring_deployment_id", "terraform_labels"}, }, + { + ResourceName: "google_network_security_mirroring_deployment.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_mirroring_deployment_group_generated_test.go b/google/services/networksecurity/resource_network_security_mirroring_deployment_group_generated_test.go index b0820229f29..a164400d364 100644 --- a/google/services/networksecurity/resource_network_security_mirroring_deployment_group_generated_test.go +++ b/google/services/networksecurity/resource_network_security_mirroring_deployment_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityMirroringDeploymentGroup_networkSecurityMirroringDepl ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "mirroring_deployment_group_id", "terraform_labels"}, }, + { + ResourceName: "google_network_security_mirroring_deployment_group.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_mirroring_endpoint_group_association_generated_test.go b/google/services/networksecurity/resource_network_security_mirroring_endpoint_group_association_generated_test.go index c44ecec7c69..c6f698db74c 100644 --- a/google/services/networksecurity/resource_network_security_mirroring_endpoint_group_association_generated_test.go +++ b/google/services/networksecurity/resource_network_security_mirroring_endpoint_group_association_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityMirroringEndpointGroupAssociation_networkSecurityMirr ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "mirroring_endpoint_group_association_id", "terraform_labels"}, }, + { + ResourceName: "google_network_security_mirroring_endpoint_group_association.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_mirroring_endpoint_group_generated_test.go b/google/services/networksecurity/resource_network_security_mirroring_endpoint_group_generated_test.go index 3dea6f452a4..70b174c7d8c 100644 --- a/google/services/networksecurity/resource_network_security_mirroring_endpoint_group_generated_test.go +++ b/google/services/networksecurity/resource_network_security_mirroring_endpoint_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityMirroringEndpointGroup_networkSecurityMirroringEndpoi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "mirroring_endpoint_group_id", "terraform_labels"}, }, + { + ResourceName: "google_network_security_mirroring_endpoint_group.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_security_profile_generated_test.go b/google/services/networksecurity/resource_network_security_security_profile_generated_test.go index df05728ebe7..63589af1d3e 100644 --- a/google/services/networksecurity/resource_network_security_security_profile_generated_test.go +++ b/google/services/networksecurity/resource_network_security_security_profile_generated_test.go @@ -53,6 +53,12 @@ func TestAccNetworkSecuritySecurityProfile_networkSecuritySecurityProfileBasicEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "parent", "terraform_labels"}, }, + { + ResourceName: "google_network_security_security_profile.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_security_profile_group_generated_test.go b/google/services/networksecurity/resource_network_security_security_profile_group_generated_test.go index f71e3055624..9659917403c 100644 --- a/google/services/networksecurity/resource_network_security_security_profile_group_generated_test.go +++ b/google/services/networksecurity/resource_network_security_security_profile_group_generated_test.go @@ -53,6 +53,12 @@ func TestAccNetworkSecuritySecurityProfileGroup_networkSecuritySecurityProfileGr ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "parent", "terraform_labels"}, }, + { + ResourceName: "google_network_security_security_profile_group.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_server_tls_policy_generated_test.go b/google/services/networksecurity/resource_network_security_server_tls_policy_generated_test.go index 79efd7618e3..7a8ab6d29ad 100644 --- a/google/services/networksecurity/resource_network_security_server_tls_policy_generated_test.go +++ b/google/services/networksecurity/resource_network_security_server_tls_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityServerTlsPolicy_networkSecurityServerTlsPolicyBasicEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_security_server_tls_policy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_tls_inspection_policy_generated_test.go b/google/services/networksecurity/resource_network_security_tls_inspection_policy_generated_test.go index 580acf5699f..065db1f3bf9 100644 --- a/google/services/networksecurity/resource_network_security_tls_inspection_policy_generated_test.go +++ b/google/services/networksecurity/resource_network_security_tls_inspection_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityTlsInspectionPolicy_networkSecurityTlsInspectionPolic ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name"}, }, + { + ResourceName: "google_network_security_tls_inspection_policy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networksecurity/resource_network_security_url_lists_generated_test.go b/google/services/networksecurity/resource_network_security_url_lists_generated_test.go index 9f0c866a619..c36c4218e3a 100644 --- a/google/services/networksecurity/resource_network_security_url_lists_generated_test.go +++ b/google/services/networksecurity/resource_network_security_url_lists_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkSecurityUrlLists_networkSecurityUrlListsBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name"}, }, + { + ResourceName: "google_network_security_url_lists.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_authz_extension_generated_test.go b/google/services/networkservices/resource_network_services_authz_extension_generated_test.go index dc8fbc69e68..e2f6cb92146 100644 --- a/google/services/networkservices/resource_network_services_authz_extension_generated_test.go +++ b/google/services/networkservices/resource_network_services_authz_extension_generated_test.go @@ -53,6 +53,12 @@ func TestAccNetworkServicesAuthzExtension_networkServicesAuthzExtensionBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "service", "terraform_labels"}, }, + { + ResourceName: "google_network_services_authz_extension.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_edge_cache_keyset_generated_test.go b/google/services/networkservices/resource_network_services_edge_cache_keyset_generated_test.go index f30cb49fc41..58708319d6c 100644 --- a/google/services/networkservices/resource_network_services_edge_cache_keyset_generated_test.go +++ b/google/services/networkservices/resource_network_services_edge_cache_keyset_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesEdgeCacheKeyset_networkServicesEdgeCacheKeysetBasicEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_edge_cache_keyset.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_edge_cache_origin_generated_test.go b/google/services/networkservices/resource_network_services_edge_cache_origin_generated_test.go index e05004e370f..a85a9de3780 100644 --- a/google/services/networkservices/resource_network_services_edge_cache_origin_generated_test.go +++ b/google/services/networkservices/resource_network_services_edge_cache_origin_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesEdgeCacheOrigin_networkServicesEdgeCacheOriginBasicEx ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels", "timeout"}, }, + { + ResourceName: "google_network_services_edge_cache_origin.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_edge_cache_service_generated_test.go b/google/services/networkservices/resource_network_services_edge_cache_service_generated_test.go index 48fe0945f12..85a002e4de6 100644 --- a/google/services/networkservices/resource_network_services_edge_cache_service_generated_test.go +++ b/google/services/networkservices/resource_network_services_edge_cache_service_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesEdgeCacheService_networkServicesEdgeCacheServiceBasic ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_edge_cache_service.instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_endpoint_policy_generated_test.go b/google/services/networkservices/resource_network_services_endpoint_policy_generated_test.go index 6c514eded37..a41f20eed67 100644 --- a/google/services/networkservices/resource_network_services_endpoint_policy_generated_test.go +++ b/google/services/networkservices/resource_network_services_endpoint_policy_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesEndpointPolicy_networkServicesEndpointPolicyBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_endpoint_policy.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_gateway_generated_test.go b/google/services/networkservices/resource_network_services_gateway_generated_test.go index 0f2aaab93a4..b8ddd652ddf 100644 --- a/google/services/networkservices/resource_network_services_gateway_generated_test.go +++ b/google/services/networkservices/resource_network_services_gateway_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesGateway_networkServicesGatewayBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_gateway.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_grpc_route_generated_test.go b/google/services/networkservices/resource_network_services_grpc_route_generated_test.go index a928f52c197..8a33cdc97a6 100644 --- a/google/services/networkservices/resource_network_services_grpc_route_generated_test.go +++ b/google/services/networkservices/resource_network_services_grpc_route_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesGrpcRoute_networkServicesGrpcRouteBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_grpc_route.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_http_route_generated_test.go b/google/services/networkservices/resource_network_services_http_route_generated_test.go index 9ad2bb30b1d..58f8ccdb06d 100644 --- a/google/services/networkservices/resource_network_services_http_route_generated_test.go +++ b/google/services/networkservices/resource_network_services_http_route_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesHttpRoute_networkServicesHttpRouteBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_http_route.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_lb_route_extension_generated_test.go b/google/services/networkservices/resource_network_services_lb_route_extension_generated_test.go index fc93420b7bd..d4bd3ec5461 100644 --- a/google/services/networkservices/resource_network_services_lb_route_extension_generated_test.go +++ b/google/services/networkservices/resource_network_services_lb_route_extension_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesLbRouteExtension_networkServicesLbRouteExtensionBasic ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "port_range", "target", "terraform_labels"}, }, + { + ResourceName: "google_network_services_lb_route_extension.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_lb_traffic_extension_generated_test.go b/google/services/networkservices/resource_network_services_lb_traffic_extension_generated_test.go index e2e74de52c9..a2da343f62e 100644 --- a/google/services/networkservices/resource_network_services_lb_traffic_extension_generated_test.go +++ b/google/services/networkservices/resource_network_services_lb_traffic_extension_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesLbTrafficExtension_networkServicesLbTrafficExtensionB ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_lb_traffic_extension.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_mesh_generated_test.go b/google/services/networkservices/resource_network_services_mesh_generated_test.go index 32898cba6dc..21af2bf4f99 100644 --- a/google/services/networkservices/resource_network_services_mesh_generated_test.go +++ b/google/services/networkservices/resource_network_services_mesh_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesMesh_networkServicesMeshBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_mesh.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_service_binding_generated_test.go b/google/services/networkservices/resource_network_services_service_binding_generated_test.go index 3e33d719efd..7a075d38839 100644 --- a/google/services/networkservices/resource_network_services_service_binding_generated_test.go +++ b/google/services/networkservices/resource_network_services_service_binding_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesServiceBinding_networkServicesServiceBindingBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_service_binding.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_tcp_route_generated_test.go b/google/services/networkservices/resource_network_services_tcp_route_generated_test.go index aaed4f491eb..78b37f0f3f4 100644 --- a/google/services/networkservices/resource_network_services_tcp_route_generated_test.go +++ b/google/services/networkservices/resource_network_services_tcp_route_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesTcpRoute_networkServicesTcpRouteBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_network_services_tcp_route.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/networkservices/resource_network_services_tls_route_generated_test.go b/google/services/networkservices/resource_network_services_tls_route_generated_test.go index 1970c2f473b..8e0521c0cea 100644 --- a/google/services/networkservices/resource_network_services_tls_route_generated_test.go +++ b/google/services/networkservices/resource_network_services_tls_route_generated_test.go @@ -51,6 +51,12 @@ func TestAccNetworkServicesTlsRoute_networkServicesTlsRouteBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name"}, }, + { + ResourceName: "google_network_services_tls_route.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/notebooks/resource_notebooks_environment_generated_test.go b/google/services/notebooks/resource_notebooks_environment_generated_test.go index 7b2a24e01a9..db897088ff3 100644 --- a/google/services/notebooks/resource_notebooks_environment_generated_test.go +++ b/google/services/notebooks/resource_notebooks_environment_generated_test.go @@ -51,6 +51,12 @@ func TestAccNotebooksEnvironment_notebookEnvironmentBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name"}, }, + { + ResourceName: "google_notebooks_environment.environment", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/notebooks/resource_notebooks_instance_generated_test.go b/google/services/notebooks/resource_notebooks_instance_generated_test.go index b19eb943f8d..abc303dc251 100644 --- a/google/services/notebooks/resource_notebooks_instance_generated_test.go +++ b/google/services/notebooks/resource_notebooks_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccNotebooksInstance_notebookInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"boot_disk_size_gb", "boot_disk_type", "container_image", "data_disk_size_gb", "data_disk_type", "instance_owners", "labels", "location", "metadata", "name", "no_remove_data_disk", "terraform_labels", "update_time", "vm_image"}, }, + { + ResourceName: "google_notebooks_instance.instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/notebooks/resource_notebooks_runtime_generated_test.go b/google/services/notebooks/resource_notebooks_runtime_generated_test.go index ca5f5fda8a5..c345f5dab18 100644 --- a/google/services/notebooks/resource_notebooks_runtime_generated_test.go +++ b/google/services/notebooks/resource_notebooks_runtime_generated_test.go @@ -51,6 +51,12 @@ func TestAccNotebooksRuntime_notebookRuntimeBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_notebooks_runtime.runtime", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/oracledatabase/resource_oracle_database_autonomous_database_generated_test.go b/google/services/oracledatabase/resource_oracle_database_autonomous_database_generated_test.go index 8c762a05877..e25573a6988 100644 --- a/google/services/oracledatabase/resource_oracle_database_autonomous_database_generated_test.go +++ b/google/services/oracledatabase/resource_oracle_database_autonomous_database_generated_test.go @@ -54,6 +54,12 @@ func TestAccOracleDatabaseAutonomousDatabase_oracledatabaseAutonomousDatabaseBas ImportStateVerify: true, ImportStateVerifyIgnore: []string{"admin_password", "autonomous_database_id", "deletion_protection", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_oracle_database_autonomous_database.myADB", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/oracledatabase/resource_oracle_database_cloud_exadata_infrastructure_generated_test.go b/google/services/oracledatabase/resource_oracle_database_cloud_exadata_infrastructure_generated_test.go index b4066cd4335..51a3dc0ee29 100644 --- a/google/services/oracledatabase/resource_oracle_database_cloud_exadata_infrastructure_generated_test.go +++ b/google/services/oracledatabase/resource_oracle_database_cloud_exadata_infrastructure_generated_test.go @@ -54,6 +54,12 @@ func TestAccOracleDatabaseCloudExadataInfrastructure_oracledatabaseCloudExadataI ImportStateVerify: true, ImportStateVerifyIgnore: []string{"cloud_exadata_infrastructure_id", "deletion_protection", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_oracle_database_cloud_exadata_infrastructure.my-cloud-exadata", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/oracledatabase/resource_oracle_database_cloud_vm_cluster_generated_test.go b/google/services/oracledatabase/resource_oracle_database_cloud_vm_cluster_generated_test.go index a72cfea89ff..9b0aaf5776f 100644 --- a/google/services/oracledatabase/resource_oracle_database_cloud_vm_cluster_generated_test.go +++ b/google/services/oracledatabase/resource_oracle_database_cloud_vm_cluster_generated_test.go @@ -55,6 +55,12 @@ func TestAccOracleDatabaseCloudVmCluster_oracledatabaseCloudVmclusterBasicExampl ImportStateVerify: true, ImportStateVerifyIgnore: []string{"cloud_vm_cluster_id", "deletion_protection", "labels", "location", "properties.0.gi_version", "properties.0.hostname_prefix", "terraform_labels"}, }, + { + ResourceName: "google_oracle_database_cloud_vm_cluster.my_vmcluster", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/oracledatabase/resource_oracle_database_odb_network_generated_test.go b/google/services/oracledatabase/resource_oracle_database_odb_network_generated_test.go index ae6ec26173e..d56c5ce5a82 100644 --- a/google/services/oracledatabase/resource_oracle_database_odb_network_generated_test.go +++ b/google/services/oracledatabase/resource_oracle_database_odb_network_generated_test.go @@ -54,6 +54,12 @@ func TestAccOracleDatabaseOdbNetwork_oracledatabaseOdbnetworkExample(t *testing. ImportStateVerify: true, ImportStateVerifyIgnore: []string{"deletion_protection", "labels", "location", "odb_network_id", "terraform_labels"}, }, + { + ResourceName: "google_oracle_database_odb_network.my-odbnetwork", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/oracledatabase/resource_oracle_database_odb_subnet_generated_test.go b/google/services/oracledatabase/resource_oracle_database_odb_subnet_generated_test.go index 129f0d1e3e4..0b3693fe2a3 100644 --- a/google/services/oracledatabase/resource_oracle_database_odb_subnet_generated_test.go +++ b/google/services/oracledatabase/resource_oracle_database_odb_subnet_generated_test.go @@ -55,6 +55,12 @@ func TestAccOracleDatabaseOdbSubnet_oracledatabaseOdbsubnetExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"deletion_protection", "labels", "location", "odb_subnet_id", "odbnetwork", "terraform_labels"}, }, + { + ResourceName: "google_oracle_database_odb_subnet.my-odbsubnet", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/orgpolicy/resource_org_policy_custom_constraint_generated_test.go b/google/services/orgpolicy/resource_org_policy_custom_constraint_generated_test.go index 617a0b8c525..cf96009fa49 100644 --- a/google/services/orgpolicy/resource_org_policy_custom_constraint_generated_test.go +++ b/google/services/orgpolicy/resource_org_policy_custom_constraint_generated_test.go @@ -54,6 +54,12 @@ func TestAccOrgPolicyCustomConstraint_orgPolicyCustomConstraintBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parent"}, }, + { + ResourceName: "google_org_policy_custom_constraint.constraint", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/osconfig/resource_os_config_patch_deployment_generated_test.go b/google/services/osconfig/resource_os_config_patch_deployment_generated_test.go index d0f9276c481..df7cbb57b54 100644 --- a/google/services/osconfig/resource_os_config_patch_deployment_generated_test.go +++ b/google/services/osconfig/resource_os_config_patch_deployment_generated_test.go @@ -51,6 +51,12 @@ func TestAccOSConfigPatchDeployment_osConfigPatchDeploymentBasicExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"patch_deployment_id"}, }, + { + ResourceName: "google_os_config_patch_deployment.patch", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_for_folder_generated_test.go b/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_for_folder_generated_test.go index b96ee16f69b..26cd40559f4 100644 --- a/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_for_folder_generated_test.go +++ b/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_for_folder_generated_test.go @@ -57,6 +57,12 @@ func TestAccOSConfigV2PolicyOrchestratorForFolder_osconfigv2PolicyOrchestratorFo ImportStateVerify: true, ImportStateVerifyIgnore: []string{"folder_id", "labels", "policy_orchestrator_id", "terraform_labels"}, }, + { + ResourceName: "google_os_config_v2_policy_orchestrator_for_folder.policy_orchestrator_for_folder", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_for_organization_generated_test.go b/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_for_organization_generated_test.go index a160bcc39d9..dc87e8a9ad3 100644 --- a/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_for_organization_generated_test.go +++ b/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_for_organization_generated_test.go @@ -68,6 +68,12 @@ func TestAccOSConfigV2PolicyOrchestratorForOrganization_osconfigv2PolicyOrchestr ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "organization_id", "policy_orchestrator_id", "terraform_labels"}, }, + { + ResourceName: "google_os_config_v2_policy_orchestrator_for_organization.policy_orchestrator_for_organization", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_generated_test.go b/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_generated_test.go index 581d0ac6c25..e5022361a87 100644 --- a/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_generated_test.go +++ b/google/services/osconfigv2/resource_os_config_v2_policy_orchestrator_generated_test.go @@ -68,6 +68,12 @@ func TestAccOSConfigV2PolicyOrchestrator_osconfigv2PolicyOrchestratorBasicExampl ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "policy_orchestrator_id", "terraform_labels"}, }, + { + ResourceName: "google_os_config_v2_policy_orchestrator.policy_orchestrator", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/oslogin/resource_os_login_ssh_public_key_generated_test.go b/google/services/oslogin/resource_os_login_ssh_public_key_generated_test.go index b21da704bd8..feb4bcd3083 100644 --- a/google/services/oslogin/resource_os_login_ssh_public_key_generated_test.go +++ b/google/services/oslogin/resource_os_login_ssh_public_key_generated_test.go @@ -51,6 +51,12 @@ func TestAccOSLoginSSHPublicKey_osLoginSshKeyBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"project", "user"}, }, + { + ResourceName: "google_os_login_ssh_public_key.cache", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/parallelstore/resource_parallelstore_instance_generated_test.go b/google/services/parallelstore/resource_parallelstore_instance_generated_test.go index a8e3696b167..1a854144425 100644 --- a/google/services/parallelstore/resource_parallelstore_instance_generated_test.go +++ b/google/services/parallelstore/resource_parallelstore_instance_generated_test.go @@ -51,6 +51,12 @@ func TestAccParallelstoreInstance_parallelstoreInstanceBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_parallelstore_instance.instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/parametermanager/resource_parameter_manager_parameter_generated_test.go b/google/services/parametermanager/resource_parameter_manager_parameter_generated_test.go index 53da1aef821..c31572a74e1 100644 --- a/google/services/parametermanager/resource_parameter_manager_parameter_generated_test.go +++ b/google/services/parametermanager/resource_parameter_manager_parameter_generated_test.go @@ -51,6 +51,12 @@ func TestAccParameterManagerParameter_parameterConfigBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "parameter_id", "terraform_labels"}, }, + { + ResourceName: "google_parameter_manager_parameter.parameter-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/parametermanager/resource_parameter_manager_parameter_version_generated_test.go b/google/services/parametermanager/resource_parameter_manager_parameter_version_generated_test.go index 0f47f93a9be..18e8d0e53ec 100644 --- a/google/services/parametermanager/resource_parameter_manager_parameter_version_generated_test.go +++ b/google/services/parametermanager/resource_parameter_manager_parameter_version_generated_test.go @@ -51,6 +51,12 @@ func TestAccParameterManagerParameterVersion_parameterVersionBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"parameter", "parameter_version_id"}, }, + { + ResourceName: "google_parameter_manager_parameter_version.parameter-version-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/parametermanagerregional/resource_parameter_manager_regional_parameter_generated_test.go b/google/services/parametermanagerregional/resource_parameter_manager_regional_parameter_generated_test.go index 9be47dfd6f6..3e0ae7efe7a 100644 --- a/google/services/parametermanagerregional/resource_parameter_manager_regional_parameter_generated_test.go +++ b/google/services/parametermanagerregional/resource_parameter_manager_regional_parameter_generated_test.go @@ -51,6 +51,12 @@ func TestAccParameterManagerRegionalRegionalParameter_regionalParameterBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "parameter_id", "terraform_labels"}, }, + { + ResourceName: "google_parameter_manager_regional_parameter.regional-parameter-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/parametermanagerregional/resource_parameter_manager_regional_parameter_version_generated_test.go b/google/services/parametermanagerregional/resource_parameter_manager_regional_parameter_version_generated_test.go index 46381466393..75ed6693659 100644 --- a/google/services/parametermanagerregional/resource_parameter_manager_regional_parameter_version_generated_test.go +++ b/google/services/parametermanagerregional/resource_parameter_manager_regional_parameter_version_generated_test.go @@ -51,6 +51,12 @@ func TestAccParameterManagerRegionalRegionalParameterVersion_regionalParameterVe ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "parameter", "parameter_version_id"}, }, + { + ResourceName: "google_parameter_manager_regional_parameter_version.regional-parameter-version-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/privateca/resource_privateca_ca_pool_generated_test.go b/google/services/privateca/resource_privateca_ca_pool_generated_test.go index d5470bd43b3..95c72435475 100644 --- a/google/services/privateca/resource_privateca_ca_pool_generated_test.go +++ b/google/services/privateca/resource_privateca_ca_pool_generated_test.go @@ -51,6 +51,12 @@ func TestAccPrivatecaCaPool_privatecaCapoolBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_privateca_ca_pool.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/privateca/resource_privateca_certificate_authority_generated_test.go b/google/services/privateca/resource_privateca_certificate_authority_generated_test.go index 83685e2ab6e..dfd79b3c051 100644 --- a/google/services/privateca/resource_privateca_certificate_authority_generated_test.go +++ b/google/services/privateca/resource_privateca_certificate_authority_generated_test.go @@ -54,6 +54,12 @@ func TestAccPrivatecaCertificateAuthority_privatecaCertificateAuthorityBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"certificate_authority_id", "deletion_protection", "ignore_active_certificates_on_deletion", "labels", "location", "pem_ca_certificate", "pool", "skip_grace_period", "terraform_labels"}, }, + { + ResourceName: "google_privateca_certificate_authority.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/privateca/resource_privateca_certificate_generated_test.go b/google/services/privateca/resource_privateca_certificate_generated_test.go index 01166d3ceaf..b9c22fde50b 100644 --- a/google/services/privateca/resource_privateca_certificate_generated_test.go +++ b/google/services/privateca/resource_privateca_certificate_generated_test.go @@ -53,6 +53,12 @@ func TestAccPrivatecaCertificate_privatecaCertificateConfigExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"certificate_authority", "labels", "location", "name", "pool", "terraform_labels"}, }, + { + ResourceName: "google_privateca_certificate.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/privateca/resource_privateca_certificate_template_generated_test.go b/google/services/privateca/resource_privateca_certificate_template_generated_test.go index 9d0e90fc447..229a8d3037f 100644 --- a/google/services/privateca/resource_privateca_certificate_template_generated_test.go +++ b/google/services/privateca/resource_privateca_certificate_template_generated_test.go @@ -51,6 +51,12 @@ func TestAccPrivatecaCertificateTemplate_privatecaTemplateBasicExample(t *testin ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_privateca_certificate_template.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/privilegedaccessmanager/resource_privileged_access_manager_entitlement_generated_test.go b/google/services/privilegedaccessmanager/resource_privileged_access_manager_entitlement_generated_test.go index 07f997501b1..363b0370234 100644 --- a/google/services/privilegedaccessmanager/resource_privileged_access_manager_entitlement_generated_test.go +++ b/google/services/privilegedaccessmanager/resource_privileged_access_manager_entitlement_generated_test.go @@ -53,6 +53,12 @@ func TestAccPrivilegedAccessManagerEntitlement_privilegedAccessManagerEntitlemen ImportStateVerify: true, ImportStateVerifyIgnore: []string{"entitlement_id", "location", "parent"}, }, + { + ResourceName: "google_privileged_access_manager_entitlement.tfentitlement", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/publicca/resource_public_ca_external_account_key_generated_test.go b/google/services/publicca/resource_public_ca_external_account_key_generated_test.go index 95eb45b0661..1fd2f9af43d 100644 --- a/google/services/publicca/resource_public_ca_external_account_key_generated_test.go +++ b/google/services/publicca/resource_public_ca_external_account_key_generated_test.go @@ -41,6 +41,12 @@ func TestAccPublicCAExternalAccountKey_publicCaExternalAccountKeyExample(t *test { Config: testAccPublicCAExternalAccountKey_publicCaExternalAccountKeyExample(context), }, + { + ResourceName: "google_public_ca_external_account_key.prod", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/pubsub/resource_pubsub_schema_generated_test.go b/google/services/pubsub/resource_pubsub_schema_generated_test.go index bd99ac9ee1a..daebd0a8b44 100644 --- a/google/services/pubsub/resource_pubsub_schema_generated_test.go +++ b/google/services/pubsub/resource_pubsub_schema_generated_test.go @@ -51,6 +51,12 @@ func TestAccPubsubSchema_pubsubSchemaBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_pubsub_schema.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/pubsub/resource_pubsub_subscription_generated_test.go b/google/services/pubsub/resource_pubsub_subscription_generated_test.go index 5bc2fb2588c..f279066604f 100644 --- a/google/services/pubsub/resource_pubsub_subscription_generated_test.go +++ b/google/services/pubsub/resource_pubsub_subscription_generated_test.go @@ -51,6 +51,12 @@ func TestAccPubsubSubscription_pubsubSubscriptionPushExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "terraform_labels", "topic"}, }, + { + ResourceName: "google_pubsub_subscription.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/pubsub/resource_pubsub_topic_generated_test.go b/google/services/pubsub/resource_pubsub_topic_generated_test.go index 6585b71ce4d..502738dc5cd 100644 --- a/google/services/pubsub/resource_pubsub_topic_generated_test.go +++ b/google/services/pubsub/resource_pubsub_topic_generated_test.go @@ -52,6 +52,12 @@ func TestAccPubsubTopic_pubsubTopicBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "terraform_labels"}, }, + { + ResourceName: "google_pubsub_topic.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/pubsublite/resource_pubsub_lite_reservation_generated_test.go b/google/services/pubsublite/resource_pubsub_lite_reservation_generated_test.go index 7bd0ec91035..74260a73db5 100644 --- a/google/services/pubsublite/resource_pubsub_lite_reservation_generated_test.go +++ b/google/services/pubsublite/resource_pubsub_lite_reservation_generated_test.go @@ -51,6 +51,12 @@ func TestAccPubsubLiteReservation_pubsubLiteReservationBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name", "region"}, }, + { + ResourceName: "google_pubsub_lite_reservation.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/pubsublite/resource_pubsub_lite_subscription_generated_test.go b/google/services/pubsublite/resource_pubsub_lite_subscription_generated_test.go index 8f4a95e0d1b..5ddc3e95ee1 100644 --- a/google/services/pubsublite/resource_pubsub_lite_subscription_generated_test.go +++ b/google/services/pubsublite/resource_pubsub_lite_subscription_generated_test.go @@ -51,6 +51,12 @@ func TestAccPubsubLiteSubscription_pubsubLiteSubscriptionBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name", "region", "topic", "zone"}, }, + { + ResourceName: "google_pubsub_lite_subscription.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/pubsublite/resource_pubsub_lite_topic_generated_test.go b/google/services/pubsublite/resource_pubsub_lite_topic_generated_test.go index ae320ab20ee..e3385efb893 100644 --- a/google/services/pubsublite/resource_pubsub_lite_topic_generated_test.go +++ b/google/services/pubsublite/resource_pubsub_lite_topic_generated_test.go @@ -51,6 +51,12 @@ func TestAccPubsubLiteTopic_pubsubLiteTopicBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name", "region", "zone"}, }, + { + ResourceName: "google_pubsub_lite_topic.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/redis/resource_redis_cluster_generated_test.go b/google/services/redis/resource_redis_cluster_generated_test.go index 11a4b632ca7..b33e064720c 100644 --- a/google/services/redis/resource_redis_cluster_generated_test.go +++ b/google/services/redis/resource_redis_cluster_generated_test.go @@ -52,6 +52,12 @@ func TestAccRedisCluster_redisClusterHaExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"gcs_source", "managed_backup_source", "name", "psc_configs", "region"}, }, + { + ResourceName: "google_redis_cluster.cluster-ha", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/redis/resource_redis_cluster_user_created_connections_generated_test.go b/google/services/redis/resource_redis_cluster_user_created_connections_generated_test.go index 84e7449988e..603ab50ce40 100644 --- a/google/services/redis/resource_redis_cluster_user_created_connections_generated_test.go +++ b/google/services/redis/resource_redis_cluster_user_created_connections_generated_test.go @@ -51,6 +51,12 @@ func TestAccRedisClusterUserCreatedConnections_redisClusterUserCreatedConnection ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name", "region"}, }, + { + ResourceName: "google_redis_cluster_user_created_connections.cluster-user-conn", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/redis/resource_redis_instance_generated_test.go b/google/services/redis/resource_redis_instance_generated_test.go index 087e653f93a..3f05a15ab33 100644 --- a/google/services/redis/resource_redis_instance_generated_test.go +++ b/google/services/redis/resource_redis_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccRedisInstance_redisInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "region", "reserved_ip_range", "terraform_labels"}, }, + { + ResourceName: "google_redis_instance.cache", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/secretmanager/resource_secret_manager_secret_generated_test.go b/google/services/secretmanager/resource_secret_manager_secret_generated_test.go index d48ba310a3d..96e795fd9f4 100644 --- a/google/services/secretmanager/resource_secret_manager_secret_generated_test.go +++ b/google/services/secretmanager/resource_secret_manager_secret_generated_test.go @@ -51,6 +51,12 @@ func TestAccSecretManagerSecret_secretConfigBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "deletion_protection", "labels", "secret_id", "tags", "terraform_labels", "ttl"}, }, + { + ResourceName: "google_secret_manager_secret.secret-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/secretmanager/resource_secret_manager_secret_version_generated_test.go b/google/services/secretmanager/resource_secret_manager_secret_version_generated_test.go index 17018a9e9c8..e232e755908 100644 --- a/google/services/secretmanager/resource_secret_manager_secret_version_generated_test.go +++ b/google/services/secretmanager/resource_secret_manager_secret_version_generated_test.go @@ -51,6 +51,12 @@ func TestAccSecretManagerSecretVersion_secretVersionBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"secret"}, }, + { + ResourceName: "google_secret_manager_secret_version.secret-version-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/secretmanagerregional/resource_secret_manager_regional_secret_generated_test.go b/google/services/secretmanagerregional/resource_secret_manager_regional_secret_generated_test.go index 436297fde9a..8a67a84a3eb 100644 --- a/google/services/secretmanagerregional/resource_secret_manager_regional_secret_generated_test.go +++ b/google/services/secretmanagerregional/resource_secret_manager_regional_secret_generated_test.go @@ -51,6 +51,12 @@ func TestAccSecretManagerRegionalRegionalSecret_regionalSecretConfigBasicExample ImportStateVerify: true, ImportStateVerifyIgnore: []string{"annotations", "deletion_protection", "labels", "location", "secret_id", "tags", "terraform_labels", "ttl"}, }, + { + ResourceName: "google_secret_manager_regional_secret.regional-secret-basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/secretmanagerregional/resource_secret_manager_regional_secret_version_generated_test.go b/google/services/secretmanagerregional/resource_secret_manager_regional_secret_version_generated_test.go index 91821d71940..0c89bdec4cb 100644 --- a/google/services/secretmanagerregional/resource_secret_manager_regional_secret_version_generated_test.go +++ b/google/services/secretmanagerregional/resource_secret_manager_regional_secret_version_generated_test.go @@ -51,6 +51,12 @@ func TestAccSecretManagerRegionalRegionalSecretVersion_regionalSecretVersionBasi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "secret"}, }, + { + ResourceName: "google_secret_manager_regional_secret_version.regional_secret_version_basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securesourcemanager/resource_secure_source_manager_branch_rule_generated_test.go b/google/services/securesourcemanager/resource_secure_source_manager_branch_rule_generated_test.go index a422b415b4d..012547a13c8 100644 --- a/google/services/securesourcemanager/resource_secure_source_manager_branch_rule_generated_test.go +++ b/google/services/securesourcemanager/resource_secure_source_manager_branch_rule_generated_test.go @@ -52,6 +52,12 @@ func TestAccSecureSourceManagerBranchRule_secureSourceManagerBranchRuleBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"branch_rule_id", "location", "repository_id"}, }, + { + ResourceName: "google_secure_source_manager_branch_rule.basic", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securesourcemanager/resource_secure_source_manager_instance_generated_test.go b/google/services/securesourcemanager/resource_secure_source_manager_instance_generated_test.go index 0a77e46f121..102e939169e 100644 --- a/google/services/securesourcemanager/resource_secure_source_manager_instance_generated_test.go +++ b/google/services/securesourcemanager/resource_secure_source_manager_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccSecureSourceManagerInstance_secureSourceManagerInstanceBasicExample( ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels", "update_time"}, }, + { + ResourceName: "google_secure_source_manager_instance.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securesourcemanager/resource_secure_source_manager_repository_generated_test.go b/google/services/securesourcemanager/resource_secure_source_manager_repository_generated_test.go index a2cc87c0b5b..1aa411f3807 100644 --- a/google/services/securesourcemanager/resource_secure_source_manager_repository_generated_test.go +++ b/google/services/securesourcemanager/resource_secure_source_manager_repository_generated_test.go @@ -52,6 +52,12 @@ func TestAccSecureSourceManagerRepository_secureSourceManagerRepositoryBasicExam ImportStateVerify: true, ImportStateVerifyIgnore: []string{"initial_config", "location", "repository_id"}, }, + { + ResourceName: "google_secure_source_manager_repository.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securitycenter/resource_scc_mute_config_generated_test.go b/google/services/securitycenter/resource_scc_mute_config_generated_test.go index dca188ae1a2..3c014c370cb 100644 --- a/google/services/securitycenter/resource_scc_mute_config_generated_test.go +++ b/google/services/securitycenter/resource_scc_mute_config_generated_test.go @@ -53,6 +53,12 @@ func TestAccSecurityCenterMuteConfig_sccMuteConfigExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"mute_config_id", "parent"}, }, + { + ResourceName: "google_scc_mute_config.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securitycenter/resource_scc_notification_config_generated_test.go b/google/services/securitycenter/resource_scc_notification_config_generated_test.go index 82882557f7e..323bd580811 100644 --- a/google/services/securitycenter/resource_scc_notification_config_generated_test.go +++ b/google/services/securitycenter/resource_scc_notification_config_generated_test.go @@ -53,6 +53,12 @@ func TestAccSecurityCenterNotificationConfig_sccNotificationConfigBasicExample(t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"config_id", "organization"}, }, + { + ResourceName: "google_scc_notification_config.custom_notification_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securitycenter/resource_scc_project_notification_config_generated_test.go b/google/services/securitycenter/resource_scc_project_notification_config_generated_test.go index 3edc70239e6..a34174cde7f 100644 --- a/google/services/securitycenter/resource_scc_project_notification_config_generated_test.go +++ b/google/services/securitycenter/resource_scc_project_notification_config_generated_test.go @@ -53,6 +53,12 @@ func TestAccSecurityCenterProjectNotificationConfig_sccProjectNotificationConfig ImportStateVerify: true, ImportStateVerifyIgnore: []string{"config_id", "project"}, }, + { + ResourceName: "google_scc_project_notification_config.custom_notification_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securitycenterv2/resource_scc_v2_organization_mute_config_generated_test.go b/google/services/securitycenterv2/resource_scc_v2_organization_mute_config_generated_test.go index 9cf2a65e5be..b4e78da6b22 100644 --- a/google/services/securitycenterv2/resource_scc_v2_organization_mute_config_generated_test.go +++ b/google/services/securitycenterv2/resource_scc_v2_organization_mute_config_generated_test.go @@ -53,6 +53,12 @@ func TestAccSecurityCenterV2OrganizationMuteConfig_sccV2OrganizationMuteConfigBa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "mute_config_id", "organization"}, }, + { + ResourceName: "google_scc_v2_organization_mute_config.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securitycenterv2/resource_scc_v2_organization_notification_config_generated_test.go b/google/services/securitycenterv2/resource_scc_v2_organization_notification_config_generated_test.go index b31f967bbbd..0904a816e7c 100644 --- a/google/services/securitycenterv2/resource_scc_v2_organization_notification_config_generated_test.go +++ b/google/services/securitycenterv2/resource_scc_v2_organization_notification_config_generated_test.go @@ -53,6 +53,12 @@ func TestAccSecurityCenterV2OrganizationNotificationConfig_sccV2OrganizationNoti ImportStateVerify: true, ImportStateVerifyIgnore: []string{"config_id", "location", "organization"}, }, + { + ResourceName: "google_scc_v2_organization_notification_config.custom_organization_notification_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securitycenterv2/resource_scc_v2_project_notification_config_generated_test.go b/google/services/securitycenterv2/resource_scc_v2_project_notification_config_generated_test.go index e7b84d13681..3356569592a 100644 --- a/google/services/securitycenterv2/resource_scc_v2_project_notification_config_generated_test.go +++ b/google/services/securitycenterv2/resource_scc_v2_project_notification_config_generated_test.go @@ -53,6 +53,12 @@ func TestAccSecurityCenterV2ProjectNotificationConfig_sccV2ProjectNotificationCo ImportStateVerify: true, ImportStateVerifyIgnore: []string{"config_id", "location", "location", "project"}, }, + { + ResourceName: "google_scc_v2_project_notification_config.custom_notification_config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/securityposture/resource_securityposture_posture_generated_test.go b/google/services/securityposture/resource_securityposture_posture_generated_test.go index 657e4c31d19..932714e83cf 100644 --- a/google/services/securityposture/resource_securityposture_posture_generated_test.go +++ b/google/services/securityposture/resource_securityposture_posture_generated_test.go @@ -53,6 +53,12 @@ func TestAccSecurityposturePosture_securityposturePostureBasicExample(t *testing ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "parent", "posture_id"}, }, + { + ResourceName: "google_securityposture_posture.posture1", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/servicenetworking/resource_service_networking_vpc_service_controls_generated_test.go b/google/services/servicenetworking/resource_service_networking_vpc_service_controls_generated_test.go index 76686111f76..198ff644182 100644 --- a/google/services/servicenetworking/resource_service_networking_vpc_service_controls_generated_test.go +++ b/google/services/servicenetworking/resource_service_networking_vpc_service_controls_generated_test.go @@ -45,6 +45,12 @@ func TestAccServiceNetworkingVPCServiceControls_serviceNetworkingVpcServiceContr ImportStateVerify: true, ImportStateVerifyIgnore: []string{"network", "project", "service"}, }, + { + ResourceName: "google_service_networking_vpc_service_controls.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/sourcerepo/resource_sourcerepo_repository_generated_test.go b/google/services/sourcerepo/resource_sourcerepo_repository_generated_test.go index 6f2de6bd9c9..3fb25afdf54 100644 --- a/google/services/sourcerepo/resource_sourcerepo_repository_generated_test.go +++ b/google/services/sourcerepo/resource_sourcerepo_repository_generated_test.go @@ -50,6 +50,12 @@ func TestAccSourceRepoRepository_sourcerepoRepositoryBasicExample(t *testing.T) ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_sourcerepo_repository.my-repo", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/spanner/resource_spanner_backup_schedule_generated_test.go b/google/services/spanner/resource_spanner_backup_schedule_generated_test.go index d29ec2bc50d..79eae4454c1 100644 --- a/google/services/spanner/resource_spanner_backup_schedule_generated_test.go +++ b/google/services/spanner/resource_spanner_backup_schedule_generated_test.go @@ -52,6 +52,12 @@ func TestAccSpannerBackupSchedule_spannerBackupScheduleDailyFullExample(t *testi ImportStateVerify: true, ImportStateVerifyIgnore: []string{"database", "instance"}, }, + { + ResourceName: "google_spanner_backup_schedule.full-backup", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/spanner/resource_spanner_database_generated_test.go b/google/services/spanner/resource_spanner_database_generated_test.go index 2bc777dd67b..cb0a791e038 100644 --- a/google/services/spanner/resource_spanner_database_generated_test.go +++ b/google/services/spanner/resource_spanner_database_generated_test.go @@ -52,6 +52,12 @@ func TestAccSpannerDatabase_spannerDatabaseBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"ddl", "default_time_zone", "deletion_protection", "instance"}, }, + { + ResourceName: "google_spanner_database.database", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/spanner/resource_spanner_instance_config_generated_test.go b/google/services/spanner/resource_spanner_instance_config_generated_test.go index b7d4e6185fa..431790d1894 100644 --- a/google/services/spanner/resource_spanner_instance_config_generated_test.go +++ b/google/services/spanner/resource_spanner_instance_config_generated_test.go @@ -52,6 +52,12 @@ func TestAccSpannerInstanceConfig_spannerInstanceConfigBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "terraform_labels"}, }, + { + ResourceName: "google_spanner_instance_config.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/spanner/resource_spanner_instance_generated_test.go b/google/services/spanner/resource_spanner_instance_generated_test.go index ec27a23b982..4a708e3d9b1 100644 --- a/google/services/spanner/resource_spanner_instance_generated_test.go +++ b/google/services/spanner/resource_spanner_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccSpannerInstance_spannerInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"config", "labels", "terraform_labels"}, }, + { + ResourceName: "google_spanner_instance.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/spanner/resource_spanner_instance_partition_generated_test.go b/google/services/spanner/resource_spanner_instance_partition_generated_test.go index 681a631abb5..8906838ba2c 100644 --- a/google/services/spanner/resource_spanner_instance_partition_generated_test.go +++ b/google/services/spanner/resource_spanner_instance_partition_generated_test.go @@ -51,6 +51,12 @@ func TestAccSpannerInstancePartition_spannerInstancePartitionBasicExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"config", "instance"}, }, + { + ResourceName: "google_spanner_instance_partition.partition", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/sql/resource_sql_database_generated_test.go b/google/services/sql/resource_sql_database_generated_test.go index 127736cec4d..e7d40aed465 100644 --- a/google/services/sql/resource_sql_database_generated_test.go +++ b/google/services/sql/resource_sql_database_generated_test.go @@ -51,6 +51,12 @@ func TestAccSQLDatabase_sqlDatabaseBasicExample(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + { + ResourceName: "google_sql_database.database", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/sql/resource_sql_source_representation_instance_generated_test.go b/google/services/sql/resource_sql_source_representation_instance_generated_test.go index 74c4d3f22ab..1372653807e 100644 --- a/google/services/sql/resource_sql_source_representation_instance_generated_test.go +++ b/google/services/sql/resource_sql_source_representation_instance_generated_test.go @@ -51,6 +51,12 @@ func TestAccSQLSourceRepresentationInstance_sqlSourceRepresentationInstanceBasic ImportStateVerify: true, ImportStateVerifyIgnore: []string{"password"}, }, + { + ResourceName: "google_sql_source_representation_instance.instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storage/resource_storage_anywhere_cache_generated_test.go b/google/services/storage/resource_storage_anywhere_cache_generated_test.go index 3d213a700bc..4a69fe94c9c 100644 --- a/google/services/storage/resource_storage_anywhere_cache_generated_test.go +++ b/google/services/storage/resource_storage_anywhere_cache_generated_test.go @@ -54,6 +54,12 @@ func TestAccStorageAnywhereCache_storageAnywhereCacheBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"bucket"}, }, + { + ResourceName: "google_storage_anywhere_cache.cache", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storage/resource_storage_bucket_access_control_generated_test.go b/google/services/storage/resource_storage_bucket_access_control_generated_test.go index 2b28d41f1ba..9e790b91616 100644 --- a/google/services/storage/resource_storage_bucket_access_control_generated_test.go +++ b/google/services/storage/resource_storage_bucket_access_control_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageBucketAccessControl_storageBucketAccessControlPublicBucketExa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"bucket"}, }, + { + ResourceName: "google_storage_bucket_access_control.public_rule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storage/resource_storage_default_object_access_control_generated_test.go b/google/services/storage/resource_storage_default_object_access_control_generated_test.go index 3a2ba7c3944..270435f5856 100644 --- a/google/services/storage/resource_storage_default_object_access_control_generated_test.go +++ b/google/services/storage/resource_storage_default_object_access_control_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageDefaultObjectAccessControl_storageDefaultObjectAccessControlP ImportStateVerify: true, ImportStateVerifyIgnore: []string{"bucket"}, }, + { + ResourceName: "google_storage_default_object_access_control.public_rule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storage/resource_storage_folder_generated_test.go b/google/services/storage/resource_storage_folder_generated_test.go index 30fcf4dcac7..318965b3283 100644 --- a/google/services/storage/resource_storage_folder_generated_test.go +++ b/google/services/storage/resource_storage_folder_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageFolder_storageFolderBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"bucket", "force_destroy"}, }, + { + ResourceName: "google_storage_folder.folder", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storage/resource_storage_hmac_key_generated_test.go b/google/services/storage/resource_storage_hmac_key_generated_test.go index ea1b027135f..35e53bebf97 100644 --- a/google/services/storage/resource_storage_hmac_key_generated_test.go +++ b/google/services/storage/resource_storage_hmac_key_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageHmacKey_storageHmacKeyExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"secret"}, }, + { + ResourceName: "google_storage_hmac_key.key", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storage/resource_storage_managed_folder_generated_test.go b/google/services/storage/resource_storage_managed_folder_generated_test.go index 2a310656a87..4f4d6e5b8a5 100644 --- a/google/services/storage/resource_storage_managed_folder_generated_test.go +++ b/google/services/storage/resource_storage_managed_folder_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageManagedFolder_storageManagedFolderBasicExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"bucket", "force_destroy"}, }, + { + ResourceName: "google_storage_managed_folder.folder", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storage/resource_storage_object_access_control_generated_test.go b/google/services/storage/resource_storage_object_access_control_generated_test.go index 8a920197f00..5eafcc42cb1 100644 --- a/google/services/storage/resource_storage_object_access_control_generated_test.go +++ b/google/services/storage/resource_storage_object_access_control_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageObjectAccessControl_storageObjectAccessControlPublicObjectExa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"bucket"}, }, + { + ResourceName: "google_storage_object_access_control.public_rule", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storagebatchoperations/resource_storage_batch_operations_job_generated_test.go b/google/services/storagebatchoperations/resource_storage_batch_operations_job_generated_test.go index 9260c6bf1aa..161c3090e70 100644 --- a/google/services/storagebatchoperations/resource_storage_batch_operations_job_generated_test.go +++ b/google/services/storagebatchoperations/resource_storage_batch_operations_job_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageBatchOperationsJob_storageBatchOperationsExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"delete_protection", "job_id"}, }, + { + ResourceName: "google_storage_batch_operations_job.tf-job", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storageinsights/resource_storage_insights_dataset_config_generated_test.go b/google/services/storageinsights/resource_storage_insights_dataset_config_generated_test.go index dc612194d23..e0f2cf5a414 100644 --- a/google/services/storageinsights/resource_storage_insights_dataset_config_generated_test.go +++ b/google/services/storageinsights/resource_storage_insights_dataset_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageInsightsDatasetConfig_storageInsightsDatasetConfigIncludesExa ImportStateVerify: true, ImportStateVerifyIgnore: []string{"dataset_config_id", "location"}, }, + { + ResourceName: "google_storage_insights_dataset_config.config_includes", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/storageinsights/resource_storage_insights_report_config_generated_test.go b/google/services/storageinsights/resource_storage_insights_report_config_generated_test.go index 4d26fd1bb1a..37c9d259a9e 100644 --- a/google/services/storageinsights/resource_storage_insights_report_config_generated_test.go +++ b/google/services/storageinsights/resource_storage_insights_report_config_generated_test.go @@ -51,6 +51,12 @@ func TestAccStorageInsightsReportConfig_storageInsightsReportConfigExample(t *te ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location"}, }, + { + ResourceName: "google_storage_insights_report_config.config", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/transcoder/resource_transcoder_job_generated_test.go b/google/services/transcoder/resource_transcoder_job_generated_test.go index 6fb293faa33..dc1c4b651c0 100644 --- a/google/services/transcoder/resource_transcoder_job_generated_test.go +++ b/google/services/transcoder/resource_transcoder_job_generated_test.go @@ -51,6 +51,12 @@ func TestAccTranscoderJob_transcoderJobBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"end_time", "labels", "location", "state", "template_id", "terraform_labels"}, }, + { + ResourceName: "google_transcoder_job.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/transcoder/resource_transcoder_job_template_generated_test.go b/google/services/transcoder/resource_transcoder_job_template_generated_test.go index d146d363883..23e00b535bd 100644 --- a/google/services/transcoder/resource_transcoder_job_template_generated_test.go +++ b/google/services/transcoder/resource_transcoder_job_template_generated_test.go @@ -51,6 +51,12 @@ func TestAccTranscoderJobTemplate_transcoderJobTemplateBasicExample(t *testing.T ImportStateVerify: true, ImportStateVerifyIgnore: []string{"job_template_id", "labels", "location", "terraform_labels"}, }, + { + ResourceName: "google_transcoder_job_template.default", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_dataset_generated_test.go b/google/services/vertexai/resource_vertex_ai_dataset_generated_test.go index 0f5669ee51f..be31e4f500e 100644 --- a/google/services/vertexai/resource_vertex_ai_dataset_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_dataset_generated_test.go @@ -45,6 +45,12 @@ func TestAccVertexAIDataset_vertexAiDatasetExample(t *testing.T) { { Config: testAccVertexAIDataset_vertexAiDatasetExample(context), }, + { + ResourceName: "google_vertex_ai_dataset.dataset", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_deployment_resource_pool_generated_test.go b/google/services/vertexai/resource_vertex_ai_deployment_resource_pool_generated_test.go index da046a4bbf6..650758ffa21 100644 --- a/google/services/vertexai/resource_vertex_ai_deployment_resource_pool_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_deployment_resource_pool_generated_test.go @@ -51,6 +51,12 @@ func TestAccVertexAIDeploymentResourcePool_vertexAiDeploymentResourcePoolExample ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region"}, }, + { + ResourceName: "google_vertex_ai_deployment_resource_pool.deployment_resource_pool", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_endpoint_generated_test.go b/google/services/vertexai/resource_vertex_ai_endpoint_generated_test.go index 8ebfea77279..00c3b668191 100644 --- a/google/services/vertexai/resource_vertex_ai_endpoint_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_endpoint_generated_test.go @@ -51,6 +51,12 @@ func TestAccVertexAIEndpoint_vertexAiEndpointPrivateServiceConnectExample(t *tes ImportStateVerify: true, ImportStateVerifyIgnore: []string{"etag", "labels", "location", "name", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_endpoint.endpoint", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_feature_group_feature_generated_test.go b/google/services/vertexai/resource_vertex_ai_feature_group_feature_generated_test.go index a1720859ef5..f948ef6a52e 100644 --- a/google/services/vertexai/resource_vertex_ai_feature_group_feature_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_feature_group_feature_generated_test.go @@ -51,6 +51,12 @@ func TestAccVertexAIFeatureGroupFeature_vertexAiFeatureGroupFeatureExample(t *te ImportStateVerify: true, ImportStateVerifyIgnore: []string{"feature_group", "labels", "name", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_feature_group_feature.feature_group_feature", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_feature_group_generated_test.go b/google/services/vertexai/resource_vertex_ai_feature_group_generated_test.go index 4f75b301614..7146c0d9908 100644 --- a/google/services/vertexai/resource_vertex_ai_feature_group_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_feature_group_generated_test.go @@ -51,6 +51,12 @@ func TestAccVertexAIFeatureGroup_vertexAiFeatureGroupExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"description", "etag", "labels", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_feature_group.feature_group", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_feature_online_store_featureview_generated_test.go b/google/services/vertexai/resource_vertex_ai_feature_online_store_featureview_generated_test.go index 4a8d57584a3..13f0ecdb701 100644 --- a/google/services/vertexai/resource_vertex_ai_feature_online_store_featureview_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_feature_online_store_featureview_generated_test.go @@ -52,6 +52,12 @@ func TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeat ImportStateVerify: true, ImportStateVerifyIgnore: []string{"feature_online_store", "labels", "name", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_feature_online_store_featureview.featureview", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_feature_online_store_generated_test.go b/google/services/vertexai/resource_vertex_ai_feature_online_store_generated_test.go index 7561b6b584c..5bb70b2c713 100644 --- a/google/services/vertexai/resource_vertex_ai_feature_online_store_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_feature_online_store_generated_test.go @@ -51,6 +51,12 @@ func TestAccVertexAIFeatureOnlineStore_vertexAiFeatureOnlineStoreExample(t *test ImportStateVerify: true, ImportStateVerifyIgnore: []string{"etag", "force_destroy", "labels", "name", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_feature_online_store.feature_online_store", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_featurestore_entitytype_feature_generated_test.go b/google/services/vertexai/resource_vertex_ai_featurestore_entitytype_feature_generated_test.go index 90255f8fc22..0622b347d84 100644 --- a/google/services/vertexai/resource_vertex_ai_featurestore_entitytype_feature_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_featurestore_entitytype_feature_generated_test.go @@ -51,6 +51,12 @@ func TestAccVertexAIFeaturestoreEntitytypeFeature_vertexAiFeaturestoreEntitytype ImportStateVerify: true, ImportStateVerifyIgnore: []string{"entitytype", "etag", "labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_featurestore_entitytype_feature.feature", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_featurestore_entitytype_generated_test.go b/google/services/vertexai/resource_vertex_ai_featurestore_entitytype_generated_test.go index ec6a356f5ec..d6057970b4d 100644 --- a/google/services/vertexai/resource_vertex_ai_featurestore_entitytype_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_featurestore_entitytype_generated_test.go @@ -55,6 +55,12 @@ func TestAccVertexAIFeaturestoreEntitytype_vertexAiFeaturestoreEntitytypeExample ImportStateVerify: true, ImportStateVerifyIgnore: []string{"etag", "featurestore", "labels", "name", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_featurestore_entitytype.entity", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_featurestore_generated_test.go b/google/services/vertexai/resource_vertex_ai_featurestore_generated_test.go index c4f7adc5f7e..b4d24901082 100644 --- a/google/services/vertexai/resource_vertex_ai_featurestore_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_featurestore_generated_test.go @@ -55,6 +55,12 @@ func TestAccVertexAIFeaturestore_vertexAiFeaturestoreExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"etag", "force_destroy", "labels", "name", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_featurestore.featurestore", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_index_endpoint_deployed_index_generated_test.go b/google/services/vertexai/resource_vertex_ai_index_endpoint_deployed_index_generated_test.go index 7b4feca6ede..d63bfdd11c6 100644 --- a/google/services/vertexai/resource_vertex_ai_index_endpoint_deployed_index_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_index_endpoint_deployed_index_generated_test.go @@ -53,6 +53,12 @@ func TestAccVertexAIIndexEndpointDeployedIndex_vertexAiIndexEndpointDeployedInde ImportStateVerify: true, ImportStateVerifyIgnore: []string{"index_endpoint", "region"}, }, + { + ResourceName: "google_vertex_ai_index_endpoint_deployed_index.basic_deployed_index", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_index_endpoint_generated_test.go b/google/services/vertexai/resource_vertex_ai_index_endpoint_generated_test.go index 4ca16bbb02a..419aa361fa7 100644 --- a/google/services/vertexai/resource_vertex_ai_index_endpoint_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_index_endpoint_generated_test.go @@ -52,6 +52,12 @@ func TestAccVertexAIIndexEndpoint_vertexAiIndexEndpointTestExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"etag", "labels", "public_endpoint_enabled", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_index_endpoint.index_endpoint", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_index_generated_test.go b/google/services/vertexai/resource_vertex_ai_index_generated_test.go index dc5d72c23fe..af386f4430a 100644 --- a/google/services/vertexai/resource_vertex_ai_index_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_index_generated_test.go @@ -53,6 +53,12 @@ func TestAccVertexAIIndex_vertexAiIndexExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"etag", "labels", "metadata.0.config.0.feature_norm_type", "metadata.0.contents_delta_uri", "metadata.0.is_complete_overwrite", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_index.index", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vertexai/resource_vertex_ai_tensorboard_generated_test.go b/google/services/vertexai/resource_vertex_ai_tensorboard_generated_test.go index 90ab71135ef..4cf2818e2cc 100644 --- a/google/services/vertexai/resource_vertex_ai_tensorboard_generated_test.go +++ b/google/services/vertexai/resource_vertex_ai_tensorboard_generated_test.go @@ -51,6 +51,12 @@ func TestAccVertexAITensorboard_vertexAiTensorboardExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"labels", "project", "region", "terraform_labels"}, }, + { + ResourceName: "google_vertex_ai_tensorboard.tensorboard", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vmwareengine/resource_vmwareengine_network_generated_test.go b/google/services/vmwareengine/resource_vmwareengine_network_generated_test.go index 51aa4058895..a3ed2adafd5 100644 --- a/google/services/vmwareengine/resource_vmwareengine_network_generated_test.go +++ b/google/services/vmwareengine/resource_vmwareengine_network_generated_test.go @@ -52,6 +52,12 @@ func TestAccVmwareengineNetwork_vmwareEngineNetworkStandardExample(t *testing.T) ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name"}, }, + { + ResourceName: "google_vmwareengine_network.vmw-engine-network", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vmwareengine/resource_vmwareengine_network_peering_generated_test.go b/google/services/vmwareengine/resource_vmwareengine_network_peering_generated_test.go index cdfa185ba36..168b21508d6 100644 --- a/google/services/vmwareengine/resource_vmwareengine_network_peering_generated_test.go +++ b/google/services/vmwareengine/resource_vmwareengine_network_peering_generated_test.go @@ -53,6 +53,12 @@ func TestAccVmwareengineNetworkPeering_vmwareEngineNetworkPeeringVenExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"name"}, }, + { + ResourceName: "google_vmwareengine_network_peering.vmw-engine-network-peering", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vmwareengine/resource_vmwareengine_network_policy_generated_test.go b/google/services/vmwareengine/resource_vmwareengine_network_policy_generated_test.go index 2ad392e3e9a..917e30292a6 100644 --- a/google/services/vmwareengine/resource_vmwareengine_network_policy_generated_test.go +++ b/google/services/vmwareengine/resource_vmwareengine_network_policy_generated_test.go @@ -54,6 +54,12 @@ func TestAccVmwareengineNetworkPolicy_vmwareEngineNetworkPolicyBasicExample(t *t ImportStateVerify: true, ImportStateVerifyIgnore: []string{"location", "name"}, }, + { + ResourceName: "google_vmwareengine_network_policy.vmw-engine-network-policy", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/vpcaccess/resource_vpc_access_connector_generated_test.go b/google/services/vpcaccess/resource_vpc_access_connector_generated_test.go index 206782be467..ed5013026ba 100644 --- a/google/services/vpcaccess/resource_vpc_access_connector_generated_test.go +++ b/google/services/vpcaccess/resource_vpc_access_connector_generated_test.go @@ -52,6 +52,12 @@ func TestAccVPCAccessConnector_vpcAccessConnectorExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"region", "self_link"}, }, + { + ResourceName: "google_vpc_access_connector.connector", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/workbench/resource_workbench_instance_generated_test.go b/google/services/workbench/resource_workbench_instance_generated_test.go index e18056e2f3f..12b08985633 100644 --- a/google/services/workbench/resource_workbench_instance_generated_test.go +++ b/google/services/workbench/resource_workbench_instance_generated_test.go @@ -52,6 +52,12 @@ func TestAccWorkbenchInstance_workbenchInstanceBasicExample(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{"instance_id", "instance_owners", "labels", "location", "name", "terraform_labels"}, }, + { + ResourceName: "google_workbench_instance.instance", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) } diff --git a/google/services/workflows/resource_workflows_workflow_generated_test.go b/google/services/workflows/resource_workflows_workflow_generated_test.go index 765e37f61a4..cfe45cb6cbb 100644 --- a/google/services/workflows/resource_workflows_workflow_generated_test.go +++ b/google/services/workflows/resource_workflows_workflow_generated_test.go @@ -45,6 +45,12 @@ func TestAccWorkflowsWorkflow_workflowBasicExample(t *testing.T) { { Config: testAccWorkflowsWorkflow_workflowBasicExample(context), }, + { + ResourceName: "google_workflows_workflow.example", + RefreshState: true, + ExpectNonEmptyPlan: true, + ImportStateKind: resource.ImportBlockWithResourceIdentity, + }, }, }) }