@@ -643,54 +643,6 @@ resource "google_dataproc_metastore_service" "test_resource" {
643
643
` , context )
644
644
}
645
645
646
- func TestAccDataprocMetastoreService_dataprocMetastoreServiceAutoscalingNoLimitConfigExample (t * testing.T ) {
647
- t .Parallel ()
648
-
649
- context := map [string ]interface {}{
650
- "random_suffix" : acctest .RandString (t , 10 ),
651
- }
652
-
653
- acctest .VcrTest (t , resource.TestCase {
654
- PreCheck : func () { acctest .AccTestPreCheck (t ) },
655
- ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories (t ),
656
- CheckDestroy : testAccCheckDataprocMetastoreServiceDestroyProducer (t ),
657
- Steps : []resource.TestStep {
658
- {
659
- Config : testAccDataprocMetastoreService_dataprocMetastoreServiceAutoscalingNoLimitConfigExample (context ),
660
- },
661
- {
662
- ResourceName : "google_dataproc_metastore_service.test_resource" ,
663
- ImportState : true ,
664
- ImportStateVerify : true ,
665
- ImportStateVerifyIgnore : []string {"labels" , "location" , "service_id" , "terraform_labels" },
666
- },
667
- },
668
- })
669
- }
670
-
671
- func testAccDataprocMetastoreService_dataprocMetastoreServiceAutoscalingNoLimitConfigExample (context map [string ]interface {}) string {
672
- return acctest .Nprintf (`
673
- resource "google_dataproc_metastore_service" "test_resource" {
674
- service_id = "tf-test-test-service%{random_suffix}"
675
- location = "us-central1"
676
-
677
- # DPMS 2 requires SPANNER database type, and does not require
678
- # a maintenance window.
679
- database_type = "SPANNER"
680
-
681
- hive_metastore_config {
682
- version = "3.1.2"
683
- }
684
-
685
- scaling_config {
686
- autoscaling_config {
687
- autoscaling_enabled = true
688
- }
689
- }
690
- }
691
- ` , context )
692
- }
693
-
694
646
func testAccCheckDataprocMetastoreServiceDestroyProducer (t * testing.T ) func (s * terraform.State ) error {
695
647
return func (s * terraform.State ) error {
696
648
for name , rs := range s .RootModule ().Resources {
0 commit comments