@@ -17,7 +17,7 @@ import (
17
17
"github.com/hashicorp/terraform-plugin-testing/terraform"
18
18
)
19
19
20
- func TestAccTFERegistryModule_vcsBasic (t * testing.T ) {
20
+ func TestAccTFERegistryModule_vcsBasic_VCSDependent (t * testing.T ) {
21
21
registryModule := & tfe.RegistryModule {}
22
22
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
23
23
orgName := fmt .Sprintf ("tst-terraform-%d" , rInt )
@@ -77,7 +77,7 @@ func TestAccTFERegistryModule_vcsBasic(t *testing.T) {
77
77
})
78
78
}
79
79
80
- func TestAccTFERegistryModule_GitHubApp (t * testing.T ) {
80
+ func TestAccTFERegistryModule_GitHubApp_VCSDependent (t * testing.T ) {
81
81
registryModule := & tfe.RegistryModule {}
82
82
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
83
83
orgName := fmt .Sprintf ("tst-terraform-%d" , rInt )
@@ -134,7 +134,7 @@ func TestAccTFERegistryModule_GitHubApp(t *testing.T) {
134
134
})
135
135
}
136
136
137
- func TestAccTFERegistryModule_emptyVCSRepo (t * testing.T ) {
137
+ func TestAccTFERegistryModule_emptyVCSRepo_VCSDependent (t * testing.T ) {
138
138
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
139
139
140
140
resource .Test (t , resource.TestCase {
@@ -153,7 +153,7 @@ func TestAccTFERegistryModule_emptyVCSRepo(t *testing.T) {
153
153
})
154
154
}
155
155
156
- func TestAccTFERegistryModule_nonVCSPrivateRegistryModuleWithoutRegistryName (t * testing.T ) {
156
+ func TestAccTFERegistryModule_nonVCSPrivateRegistryModuleWithoutRegistryName_VCSDependent (t * testing.T ) {
157
157
registryModule := & tfe.RegistryModule {}
158
158
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
159
159
orgName := fmt .Sprintf ("tst-terraform-%d" , rInt )
@@ -202,7 +202,7 @@ func TestAccTFERegistryModule_nonVCSPrivateRegistryModuleWithoutRegistryName(t *
202
202
})
203
203
}
204
204
205
- func TestAccTFERegistryModule_nonVCSPrivateRegistryModuleWithRegistryName (t * testing.T ) {
205
+ func TestAccTFERegistryModule_nonVCSPrivateRegistryModuleWithRegistryName_VCSDependent (t * testing.T ) {
206
206
registryModule := & tfe.RegistryModule {}
207
207
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
208
208
orgName := fmt .Sprintf ("tst-terraform-%d" , rInt )
@@ -251,7 +251,7 @@ func TestAccTFERegistryModule_nonVCSPrivateRegistryModuleWithRegistryName(t *tes
251
251
})
252
252
}
253
253
254
- func TestAccTFERegistryModule_publicRegistryModule (t * testing.T ) {
254
+ func TestAccTFERegistryModule_publicRegistryModule_VCSDependent (t * testing.T ) {
255
255
registryModule := & tfe.RegistryModule {}
256
256
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
257
257
orgName := fmt .Sprintf ("tst-terraform-%d" , rInt )
@@ -300,7 +300,7 @@ func TestAccTFERegistryModule_publicRegistryModule(t *testing.T) {
300
300
})
301
301
}
302
302
303
- func TestAccTFERegistryModule_branchOnly (t * testing.T ) {
303
+ func TestAccTFERegistryModule_branchOnly_VCSDependent (t * testing.T ) {
304
304
skipUnlessBeta (t )
305
305
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
306
306
@@ -324,7 +324,7 @@ func TestAccTFERegistryModule_branchOnly(t *testing.T) {
324
324
})
325
325
}
326
326
327
- func TestAccTFERegistryModule_vcsRepoWithTags (t * testing.T ) {
327
+ func TestAccTFERegistryModule_vcsRepoWithTags_VCSDependent (t * testing.T ) {
328
328
skipUnlessBeta (t )
329
329
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
330
330
@@ -348,7 +348,7 @@ func TestAccTFERegistryModule_vcsRepoWithTags(t *testing.T) {
348
348
})
349
349
}
350
350
351
- func TestAccTFERegistryModule_noCodeModule (t * testing.T ) {
351
+ func TestAccTFERegistryModule_noCodeModule_VCSDependent (t * testing.T ) {
352
352
skipIfEnterprise (t )
353
353
354
354
registryModule := & tfe.RegistryModule {}
@@ -402,7 +402,7 @@ func TestAccTFERegistryModule_noCodeModule(t *testing.T) {
402
402
})
403
403
}
404
404
405
- func TestAccTFERegistryModuleImport_vcsPrivateRMDeprecatedFormat (t * testing.T ) {
405
+ func TestAccTFERegistryModuleImport_vcsPrivateRMDeprecatedFormat_VCSDependent (t * testing.T ) {
406
406
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
407
407
408
408
resource .Test (t , resource.TestCase {
@@ -426,7 +426,7 @@ func TestAccTFERegistryModuleImport_vcsPrivateRMDeprecatedFormat(t *testing.T) {
426
426
})
427
427
}
428
428
429
- func TestAccTFERegistryModuleImport_vcsPrivateRMRecommendedFormat (t * testing.T ) {
429
+ func TestAccTFERegistryModuleImport_vcsPrivateRMRecommendedFormat_VCSDependent (t * testing.T ) {
430
430
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
431
431
432
432
resource .Test (t , resource.TestCase {
@@ -450,7 +450,7 @@ func TestAccTFERegistryModuleImport_vcsPrivateRMRecommendedFormat(t *testing.T)
450
450
})
451
451
}
452
452
453
- func TestAccTFERegistryModuleImport_vcsPublishingMechanismBranchToTagsToBranch (t * testing.T ) {
453
+ func TestAccTFERegistryModuleImport_vcsPublishingMechanismBranchToTagsToBranch_VCSDependent (t * testing.T ) {
454
454
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
455
455
456
456
resource .Test (t , resource.TestCase {
@@ -509,7 +509,7 @@ func TestAccTFERegistryModuleImport_vcsPublishingMechanismBranchToTagsToBranch(t
509
509
})
510
510
}
511
511
512
- func TestAccTFERegistryModule_branchOnlyEmpty (t * testing.T ) {
512
+ func TestAccTFERegistryModule_branchOnlyEmpty_VCSDependent (t * testing.T ) {
513
513
skipUnlessBeta (t )
514
514
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
515
515
@@ -533,7 +533,7 @@ func TestAccTFERegistryModule_branchOnlyEmpty(t *testing.T) {
533
533
})
534
534
}
535
535
536
- func TestAccTFERegistryModuleImport_vcsPublishingMechanismBranchToTagsToBranchWithTests (t * testing.T ) {
536
+ func TestAccTFERegistryModuleImport_vcsPublishingMechanismBranchToTagsToBranchWithTests_VCSDependent (t * testing.T ) {
537
537
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
538
538
539
539
resource .Test (t , resource.TestCase {
@@ -574,7 +574,7 @@ func TestAccTFERegistryModuleImport_vcsPublishingMechanismBranchToTagsToBranchWi
574
574
})
575
575
}
576
576
577
- func TestAccTFERegistryModuleImport_vcsPublishingMechanismTagsToBranchToTags (t * testing.T ) {
577
+ func TestAccTFERegistryModuleImport_vcsPublishingMechanismTagsToBranchToTags_VCSDependent (t * testing.T ) {
578
578
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
579
579
580
580
resource .Test (t , resource.TestCase {
@@ -624,7 +624,7 @@ func TestAccTFERegistryModuleImport_vcsPublishingMechanismTagsToBranchToTags(t *
624
624
})
625
625
}
626
626
627
- func TestAccTFERegistryModule_invalidTestConfigOnCreate (t * testing.T ) {
627
+ func TestAccTFERegistryModule_invalidTestConfigOnCreate_VCSDependent (t * testing.T ) {
628
628
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
629
629
630
630
resource .Test (t , resource.TestCase {
@@ -642,7 +642,7 @@ func TestAccTFERegistryModule_invalidTestConfigOnCreate(t *testing.T) {
642
642
})
643
643
}
644
644
645
- func TestAccTFERegistryModule_invalidTestConfigOnUpdate (t * testing.T ) {
645
+ func TestAccTFERegistryModule_invalidTestConfigOnUpdate_VCSDependent (t * testing.T ) {
646
646
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
647
647
648
648
resource .Test (t , resource.TestCase {
@@ -669,7 +669,7 @@ func TestAccTFERegistryModule_invalidTestConfigOnUpdate(t *testing.T) {
669
669
})
670
670
}
671
671
672
- func TestAccTFERegistryModule_vcsTagsOnlyFalse (t * testing.T ) {
672
+ func TestAccTFERegistryModule_vcsTagsOnlyFalse_VCSDependent (t * testing.T ) {
673
673
skipUnlessBeta (t )
674
674
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
675
675
@@ -688,7 +688,7 @@ func TestAccTFERegistryModule_vcsTagsOnlyFalse(t *testing.T) {
688
688
})
689
689
}
690
690
691
- func TestAccTFERegistryModule_branchAndInvalidTagsOnCreate (t * testing.T ) {
691
+ func TestAccTFERegistryModule_branchAndInvalidTagsOnCreate_VCSDependent (t * testing.T ) {
692
692
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
693
693
694
694
resource .Test (t , resource.TestCase {
@@ -706,7 +706,7 @@ func TestAccTFERegistryModule_branchAndInvalidTagsOnCreate(t *testing.T) {
706
706
})
707
707
}
708
708
709
- func TestAccTFERegistryModule_branchAndTagsEnabledOnCreate (t * testing.T ) {
709
+ func TestAccTFERegistryModule_branchAndTagsEnabledOnCreate_VCSDependent (t * testing.T ) {
710
710
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
711
711
712
712
resource .Test (t , resource.TestCase {
@@ -724,7 +724,7 @@ func TestAccTFERegistryModule_branchAndTagsEnabledOnCreate(t *testing.T) {
724
724
})
725
725
}
726
726
727
- func TestAccTFERegistryModule_branchAndTagsDisabledOnCreate (t * testing.T ) {
727
+ func TestAccTFERegistryModule_branchAndTagsDisabledOnCreate_VCSDependent (t * testing.T ) {
728
728
skipUnlessBeta (t )
729
729
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
730
730
@@ -743,7 +743,7 @@ func TestAccTFERegistryModule_branchAndTagsDisabledOnCreate(t *testing.T) {
743
743
})
744
744
}
745
745
746
- func TestAccTFERegistryModule_branchAndTagsEnabledOnUpdate (t * testing.T ) {
746
+ func TestAccTFERegistryModule_branchAndTagsEnabledOnUpdate_VCSDependent (t * testing.T ) {
747
747
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
748
748
749
749
resource .Test (t , resource.TestCase {
@@ -770,7 +770,7 @@ func TestAccTFERegistryModule_branchAndTagsEnabledOnUpdate(t *testing.T) {
770
770
})
771
771
}
772
772
773
- func TestAccTFERegistryModule_branchAndTagsDisabledOnUpdate (t * testing.T ) {
773
+ func TestAccTFERegistryModule_branchAndTagsDisabledOnUpdate_VCSDependent (t * testing.T ) {
774
774
skipUnlessBeta (t )
775
775
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
776
776
@@ -798,7 +798,7 @@ func TestAccTFERegistryModule_branchAndTagsDisabledOnUpdate(t *testing.T) {
798
798
})
799
799
}
800
800
801
- func TestAccTFERegistryModuleImport_nonVCSPrivateRM (t * testing.T ) {
801
+ func TestAccTFERegistryModuleImport_nonVCSPrivateRM_VCSDependent (t * testing.T ) {
802
802
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
803
803
804
804
resource .Test (t , resource.TestCase {
@@ -821,7 +821,7 @@ func TestAccTFERegistryModuleImport_nonVCSPrivateRM(t *testing.T) {
821
821
})
822
822
}
823
823
824
- func TestAccTFERegistryModuleImport_publicRM (t * testing.T ) {
824
+ func TestAccTFERegistryModuleImport_publicRM_VCSDependent (t * testing.T ) {
825
825
rInt := rand .New (rand .NewSource (time .Now ().UnixNano ())).Int ()
826
826
827
827
resource .Test (t , resource.TestCase {
@@ -844,7 +844,7 @@ func TestAccTFERegistryModuleImport_publicRM(t *testing.T) {
844
844
})
845
845
}
846
846
847
- func TestAccTFERegistryModule_invalidWithBothVCSRepoAndModuleProvider (t * testing.T ) {
847
+ func TestAccTFERegistryModule_invalidWithBothVCSRepoAndModuleProvider_VCSDependent (t * testing.T ) {
848
848
resource .Test (t , resource.TestCase {
849
849
PreCheck : func () {
850
850
testAccPreCheck (t )
@@ -859,7 +859,7 @@ func TestAccTFERegistryModule_invalidWithBothVCSRepoAndModuleProvider(t *testing
859
859
})
860
860
}
861
861
862
- func TestAccTFERegistryModule_invalidRegistryName (t * testing.T ) {
862
+ func TestAccTFERegistryModule_invalidRegistryName_VCSDependent (t * testing.T ) {
863
863
resource .Test (t , resource.TestCase {
864
864
PreCheck : func () {
865
865
testAccPreCheck (t )
@@ -874,7 +874,7 @@ func TestAccTFERegistryModule_invalidRegistryName(t *testing.T) {
874
874
})
875
875
}
876
876
877
- func TestAccTFERegistryModule_invalidWithModuleProviderAndNoName (t * testing.T ) {
877
+ func TestAccTFERegistryModule_invalidWithModuleProviderAndNoName_VCSDependent (t * testing.T ) {
878
878
resource .Test (t , resource.TestCase {
879
879
PreCheck : func () {
880
880
testAccPreCheck (t )
@@ -889,7 +889,7 @@ func TestAccTFERegistryModule_invalidWithModuleProviderAndNoName(t *testing.T) {
889
889
})
890
890
}
891
891
892
- func TestAccTFERegistryModule_invalidWithModuleProviderAndNoOrganization (t * testing.T ) {
892
+ func TestAccTFERegistryModule_invalidWithModuleProviderAndNoOrganization_VCSDependent (t * testing.T ) {
893
893
resource .Test (t , resource.TestCase {
894
894
PreCheck : func () {
895
895
testAccPreCheck (t )
@@ -904,7 +904,7 @@ func TestAccTFERegistryModule_invalidWithModuleProviderAndNoOrganization(t *test
904
904
})
905
905
}
906
906
907
- func TestAccTFERegistryModule_invalidWithNamespaceAndNoRegistryName (t * testing.T ) {
907
+ func TestAccTFERegistryModule_invalidWithNamespaceAndNoRegistryName_VCSDependent (t * testing.T ) {
908
908
resource .Test (t , resource.TestCase {
909
909
PreCheck : func () {
910
910
testAccPreCheck (t )
@@ -919,7 +919,7 @@ func TestAccTFERegistryModule_invalidWithNamespaceAndNoRegistryName(t *testing.T
919
919
})
920
920
}
921
921
922
- func TestAccTFERegistryModule_invalidWithRegistryNameAndNoModuleProvider (t * testing.T ) {
922
+ func TestAccTFERegistryModule_invalidWithRegistryNameAndNoModuleProvider_VCSDependent (t * testing.T ) {
923
923
resource .Test (t , resource.TestCase {
924
924
PreCheck : func () {
925
925
testAccPreCheck (t )
0 commit comments