Skip to content

Commit 0e01577

Browse files
author
“guojunchu”
committed
change CHANGELOG.md
1 parent 998794c commit 0e01577

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ENHANCEMENTS:
44

55
* Resource `tencentcloud_instance` add `cam_role_name` to support binding role to cvm instance.
6-
* Resource `tencentcloud_tcr_instance` add `public_operation` to control public network access.
6+
* Resource `tencentcloud_tcr_instance` add `open_public_network` to control public network access.
77
* Resource `tencentcloud_cfs_file_system` add `storage_type` to change file service StorageType.
88

99
BUG FIXES:

tencentcloud/resource_tc_tcr_instance_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ func TestAccTencentCloudTCRInstance_basic_and_update(t *testing.T) {
3838
Config: testAccTCRInstance_basic_update_remark,
3939
Check: resource.ComposeAggregateTestCheckFunc(
4040
testAccCheckTCRInstanceExists("tencentcloud_tcr_instance.mytcr_instance"),
41-
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "tags.tf", "tf"),
41+
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "tags.test", "test"),
4242
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "delete_bucket", "true"),
43+
resource.TestCheckResourceAttr("tencentcloud_tcr_instance.mytcr_instance", "open_public_operation", "true"),
4344
),
4445
},
4546
},
@@ -96,7 +97,6 @@ resource "tencentcloud_tcr_instance" "mytcr_instance" {
9697
name = "testacctcrinstance1"
9798
instance_type = "basic"
9899
delete_bucket = true
99-
open_public_operation = false
100100
101101
tags ={
102102
test = "test"
@@ -105,11 +105,11 @@ resource "tencentcloud_tcr_instance" "mytcr_instance" {
105105

106106
const testAccTCRInstance_basic_update_remark = `
107107
resource "tencentcloud_tcr_instance" "mytcr_instance" {
108-
name = "testacctcrinstance2"
108+
name = "testacctcrinstance1"
109109
instance_type = "basic"
110110
delete_bucket = true
111111
open_public_operation = true
112112
tags ={
113-
tf = "tf"
113+
test = "test"
114114
}
115115
}`

0 commit comments

Comments
 (0)