Skip to content

Commit 960ca9d

Browse files
committed
feat(tcr): doc
1 parent 523645c commit 960ca9d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tencentcloud/services/tcr/resource_tc_tcr_instance_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func TestAccTencentCloudTcrInstanceResource_replication(t *testing.T) {
238238
tcacctest.AccPreCheckCommon(t, tcacctest.ACCOUNT_TYPE_PREPAY)
239239
},
240240
Check: resource.ComposeAggregateTestCheckFunc(
241-
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "name", "tfreplicas"),
241+
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "name", "tfreplicas1"),
242242
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "replications.#", "2"),
243243
),
244244
},
@@ -255,7 +255,7 @@ func TestAccTencentCloudTcrInstanceResource_replication(t *testing.T) {
255255
tcacctest.AccPreCheckCommon(t, tcacctest.ACCOUNT_TYPE_PREPAY)
256256
},
257257
Check: resource.ComposeAggregateTestCheckFunc(
258-
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "name", "tfreplicas"),
258+
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "name", "tfreplicas1"),
259259
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "replications.#", "3"),
260260
),
261261
},
@@ -385,7 +385,7 @@ resource "tencentcloud_tcr_instance" "mytcr_instance_paypaid" {
385385

386386
const testAccTCRInstance_replica = `
387387
resource "tencentcloud_tcr_instance" "mytcr_instance" {
388-
name = "tfreplicas"
388+
name = "tfreplicas1"
389389
instance_type = "premium"
390390
delete_bucket = true
391391
@@ -399,7 +399,7 @@ resource "tencentcloud_tcr_instance" "mytcr_instance" {
399399

400400
const testAccTCRInstance_replica_update = `
401401
resource "tencentcloud_tcr_instance" "mytcr_instance" {
402-
name = "tfreplicas"
402+
name = "tfreplicas1"
403403
instance_type = "premium"
404404
delete_bucket = true
405405
@@ -410,7 +410,7 @@ resource "tencentcloud_tcr_instance" "mytcr_instance" {
410410
region_id = 8 # ap-beijing
411411
}
412412
replications {
413-
region_id = 16 #ap-chengdu
413+
region_id = 15 #ap-chengdu
414414
syn_tag = true
415415
}
416416
}`

0 commit comments

Comments
 (0)