@@ -238,7 +238,7 @@ func TestAccTencentCloudTcrInstanceResource_replication(t *testing.T) {
238
238
tcacctest .AccPreCheckCommon (t , tcacctest .ACCOUNT_TYPE_PREPAY )
239
239
},
240
240
Check : resource .ComposeAggregateTestCheckFunc (
241
- resource .TestCheckResourceAttr ("tencentcloud_tcr_instance.mytcr_instance" , "name" , "tfreplicas " ),
241
+ resource .TestCheckResourceAttr ("tencentcloud_tcr_instance.mytcr_instance" , "name" , "tfreplicas1 " ),
242
242
resource .TestCheckResourceAttr ("tencentcloud_tcr_instance.mytcr_instance" , "replications.#" , "2" ),
243
243
),
244
244
},
@@ -255,7 +255,7 @@ func TestAccTencentCloudTcrInstanceResource_replication(t *testing.T) {
255
255
tcacctest .AccPreCheckCommon (t , tcacctest .ACCOUNT_TYPE_PREPAY )
256
256
},
257
257
Check : resource .ComposeAggregateTestCheckFunc (
258
- resource .TestCheckResourceAttr ("tencentcloud_tcr_instance.mytcr_instance" , "name" , "tfreplicas " ),
258
+ resource .TestCheckResourceAttr ("tencentcloud_tcr_instance.mytcr_instance" , "name" , "tfreplicas1 " ),
259
259
resource .TestCheckResourceAttr ("tencentcloud_tcr_instance.mytcr_instance" , "replications.#" , "3" ),
260
260
),
261
261
},
@@ -385,7 +385,7 @@ resource "tencentcloud_tcr_instance" "mytcr_instance_paypaid" {
385
385
386
386
const testAccTCRInstance_replica = `
387
387
resource "tencentcloud_tcr_instance" "mytcr_instance" {
388
- name = "tfreplicas "
388
+ name = "tfreplicas1 "
389
389
instance_type = "premium"
390
390
delete_bucket = true
391
391
@@ -399,7 +399,7 @@ resource "tencentcloud_tcr_instance" "mytcr_instance" {
399
399
400
400
const testAccTCRInstance_replica_update = `
401
401
resource "tencentcloud_tcr_instance" "mytcr_instance" {
402
- name = "tfreplicas "
402
+ name = "tfreplicas1 "
403
403
instance_type = "premium"
404
404
delete_bucket = true
405
405
@@ -410,7 +410,7 @@ resource "tencentcloud_tcr_instance" "mytcr_instance" {
410
410
region_id = 8 # ap-beijing
411
411
}
412
412
replications {
413
- region_id = 16 #ap-chengdu
413
+ region_id = 15 #ap-chengdu
414
414
syn_tag = true
415
415
}
416
416
}`
0 commit comments