Skip to content

Commit 1c30337

Browse files
author
mikatong
committed
update test
1 parent 03881e5 commit 1c30337

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tencentcloud/services/tcr/resource_tc_tcr_service_account_test.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func TestAccTencentCloudTcrServiceAccountResource_basic(t *testing.T) {
7070
ResourceName: "tencentcloud_tcr_service_account.example",
7171
ImportState: true,
7272
ImportStateVerify: true,
73-
ImportStateVerifyIgnore: []string{"duration", "password"},
73+
ImportStateVerifyIgnore: []string{"duration", "password", "reset_password"},
7474
},
7575
},
7676
})
@@ -94,9 +94,6 @@ resource "tencentcloud_tcr_instance" "example" {
9494
is_auto_scan = true
9595
is_prevent_vul = true
9696
severity = "medium"
97-
cve_whitelist_items {
98-
cve_id = "tf_example_cve_id"
99-
}
10097
}
10198
10299
resource "tencentcloud_tcr_service_account" "example" {
@@ -134,9 +131,6 @@ resource "tencentcloud_tcr_instance" "example" {
134131
is_auto_scan = true
135132
is_prevent_vul = true
136133
severity = "medium"
137-
cve_whitelist_items {
138-
cve_id = "tf_example_cve_id"
139-
}
140134
}
141135
142136
resource "tencentcloud_tcr_service_account" "example" {
@@ -174,9 +168,6 @@ resource "tencentcloud_tcr_instance" "example" {
174168
is_auto_scan = true
175169
is_prevent_vul = true
176170
severity = "medium"
177-
cve_whitelist_items {
178-
cve_id = "tf_example_cve_id"
179-
}
180171
}
181172
182173
resource "tencentcloud_tcr_service_account" "example" {

0 commit comments

Comments
 (0)