@@ -407,7 +407,7 @@ func TestAccMemorystoreInstance_updateInstanceEndpoints(t *testing.T) {
407
407
Steps : []resource.TestStep {
408
408
{
409
409
// create cluster with no user created connections
410
- Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 3 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 0 }),
410
+ Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 1 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 0 }),
411
411
},
412
412
{
413
413
ResourceName : "google_memorystore_instance.test" ,
@@ -417,7 +417,7 @@ func TestAccMemorystoreInstance_updateInstanceEndpoints(t *testing.T) {
417
417
},
418
418
{
419
419
// create cluster with one user created connection
420
- Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 3 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 1 }),
420
+ Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 1 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 1 }),
421
421
},
422
422
{
423
423
ResourceName : "google_memorystore_instance.test" ,
@@ -427,7 +427,7 @@ func TestAccMemorystoreInstance_updateInstanceEndpoints(t *testing.T) {
427
427
},
428
428
{
429
429
// update cluster with 2 endpoints
430
- Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 3 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 2 }),
430
+ Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 1 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 2 }),
431
431
},
432
432
{
433
433
ResourceName : "google_memorystore_instance.test" ,
@@ -437,7 +437,7 @@ func TestAccMemorystoreInstance_updateInstanceEndpoints(t *testing.T) {
437
437
},
438
438
{
439
439
// update cluster with 1 endpoint
440
- Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 3 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 1 }),
440
+ Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 1 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 1 }),
441
441
},
442
442
{
443
443
ResourceName : "google_memorystore_instance.test" ,
@@ -447,7 +447,7 @@ func TestAccMemorystoreInstance_updateInstanceEndpoints(t *testing.T) {
447
447
},
448
448
{
449
449
// update cluster with 0 endpoints
450
- Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 3 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 0 }),
450
+ Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 1 , deletionProtectionEnabled : true , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 0 }),
451
451
},
452
452
{
453
453
ResourceName : "google_memorystore_instance.test" ,
@@ -457,7 +457,7 @@ func TestAccMemorystoreInstance_updateInstanceEndpoints(t *testing.T) {
457
457
},
458
458
{
459
459
// clean up the resource
460
- Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 3 , deletionProtectionEnabled : false , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 0 }),
460
+ Config : createOrUpdateMemorystoreInstance (& InstanceParams {name : name , replicaCount : 0 , shardCount : 1 , deletionProtectionEnabled : false , zoneDistributionMode : "MULTI_ZONE" , userEndpointCount : 0 }),
461
461
},
462
462
},
463
463
})
0 commit comments