@@ -28,7 +28,7 @@ import (
2828func TestAccAlloydbCluster_secondaryClusterMandatoryFields (t * testing.T ) {
2929 t .Parallel ()
3030 context := map [string ]interface {}{
31- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
31+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
3232 "random_suffix" : acctest .RandString (t , 10 ),
3333 }
3434
@@ -102,7 +102,7 @@ func TestAccAlloydbCluster_secondaryClusterMissingSecondaryConfig(t *testing.T)
102102 t .Parallel ()
103103
104104 context := map [string ]interface {}{
105- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
105+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
106106 "random_suffix" : acctest .RandString (t , 10 ),
107107 }
108108
@@ -167,7 +167,7 @@ func TestAccAlloydbCluster_secondaryClusterDefinedSecondaryConfigButMissingClust
167167 t .Parallel ()
168168
169169 context := map [string ]interface {}{
170- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
170+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
171171 "random_suffix" : acctest .RandString (t , 10 ),
172172 }
173173
@@ -235,7 +235,7 @@ func TestAccAlloydbCluster_secondaryClusterDefinedSecondaryConfigButClusterTypeI
235235 t .Parallel ()
236236
237237 context := map [string ]interface {}{
238- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
238+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
239239 "random_suffix" : acctest .RandString (t , 10 ),
240240 }
241241
@@ -304,7 +304,7 @@ func TestAccAlloydbCluster_secondaryClusterUpdate(t *testing.T) {
304304 t .Parallel ()
305305
306306 context := map [string ]interface {}{
307- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
307+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
308308 "random_suffix" : acctest .RandString (t , 10 ),
309309 }
310310
@@ -390,7 +390,7 @@ func TestAccAlloydbCluster_secondaryClusterUsingCMEK(t *testing.T) {
390390 t .Parallel ()
391391
392392 context := map [string ]interface {}{
393- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
393+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
394394 "random_suffix" : acctest .RandString (t , 10 ),
395395 "kms_key_name" : acctest .BootstrapKMSKeyWithPurposeInLocationAndName (t , "ENCRYPT_DECRYPT" , "us-east1" , "tf-bootstrap-alloydb-secondary-key1" ).CryptoKey .Name ,
396396 }
@@ -478,7 +478,7 @@ func TestAccAlloydbCluster_secondaryClusterWithNetworkConfig(t *testing.T) {
478478 t .Parallel ()
479479
480480 context := map [string ]interface {}{
481- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
481+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
482482 "random_suffix" : acctest .RandString (t , 10 ),
483483 }
484484
@@ -552,8 +552,8 @@ func TestAccAlloydbCluster_secondaryClusterWithNetworkConfigAndAllocatedIPRange(
552552 t .Parallel ()
553553
554554 context := map [string ]interface {}{
555- "address_name" : acctest .BootstrapSharedTestGlobalAddress (t , "alloydbinstance-network-config -1" ),
556- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
555+ "address_name" : acctest .BootstrapSharedTestGlobalAddress (t , "alloydb -1" ),
556+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
557557 "random_suffix" : acctest .RandString (t , 10 ),
558558 }
559559
@@ -635,7 +635,7 @@ func TestAccAlloydbCluster_secondaryClusterPromote(t *testing.T) {
635635 context := map [string ]interface {}{
636636 "random_suffix" : acctest .RandString (t , 10 ),
637637 "secondary_cluster_location" : "us-east1" ,
638- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
638+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
639639 }
640640
641641 acctest .VcrTest (t , resource.TestCase {
@@ -790,7 +790,7 @@ func TestAccAlloydbCluster_secondaryClusterPromoteAndSimultaneousUpdate(t *testi
790790 context := map [string ]interface {}{
791791 "random_suffix" : acctest .RandString (t , 10 ),
792792 "secondary_cluster_location" : "us-east1" ,
793- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
793+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
794794 }
795795
796796 acctest .VcrTest (t , resource.TestCase {
@@ -886,7 +886,7 @@ func TestAccAlloydbCluster_secondaryClusterPromoteAndDeleteOriginalPrimary(t *te
886886 context := map [string ]interface {}{
887887 "random_suffix" : acctest .RandString (t , 10 ),
888888 "secondary_cluster_location" : "us-east1" ,
889- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
889+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
890890 }
891891
892892 acctest .VcrTest (t , resource.TestCase {
@@ -969,7 +969,7 @@ func TestAccAlloydbCluster_secondaryClusterPromoteAndUpdate(t *testing.T) {
969969 context := map [string ]interface {}{
970970 "random_suffix" : acctest .RandString (t , 10 ),
971971 "secondary_cluster_location" : "us-east1" ,
972- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
972+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
973973 }
974974
975975 acctest .VcrTest (t , resource.TestCase {
@@ -1074,8 +1074,8 @@ func TestAccAlloydbCluster_secondaryClusterPromoteWithNetworkConfigAndAllocatedI
10741074
10751075 context := map [string ]interface {}{
10761076 "random_suffix" : acctest .RandString (t , 10 ),
1077- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
1078- "address_name" : acctest .BootstrapSharedTestGlobalAddress (t , "alloydbinstance-network-config -1" ),
1077+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
1078+ "address_name" : acctest .BootstrapSharedTestGlobalAddress (t , "alloydb -1" ),
10791079 }
10801080
10811081 acctest .VcrTest (t , resource.TestCase {
@@ -1242,7 +1242,7 @@ func TestAccAlloydbCluster_secondaryClusterPromoteAndAddAndDeleteAutomatedBackup
12421242 context := map [string ]interface {}{
12431243 "random_suffix" : acctest .RandString (t , 10 ),
12441244 "secondary_cluster_location" : "us-south1" ,
1245- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
1245+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
12461246 "hour" : 23 ,
12471247 }
12481248
@@ -1383,7 +1383,7 @@ func TestAccAlloydbCluster_secondaryClusterPromoteAndDeleteTimeBasedRetentionPol
13831383 context := map [string ]interface {}{
13841384 "random_suffix" : acctest .RandString (t , 10 ),
13851385 "secondary_cluster_location" : "us-south1" ,
1386- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
1386+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
13871387 }
13881388
13891389 acctest .VcrTest (t , resource.TestCase {
@@ -1605,7 +1605,7 @@ func TestAccAlloydbCluster_secondaryClusterPromoteAndAddContinuousBackupConfig(t
16051605 context := map [string ]interface {}{
16061606 "random_suffix" : acctest .RandString (t , 10 ),
16071607 "secondary_cluster_location" : "us-south1" ,
1608- "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydbinstance-network-config -1" ),
1608+ "network_name" : acctest .BootstrapSharedServiceNetworkingConnection (t , "alloydb -1" ),
16091609 }
16101610
16111611 acctest .VcrTest (t , resource.TestCase {
0 commit comments