Skip to content

Commit 998f60e

Browse files
author
mikatong
committed
rm reset_password
1 parent f6f85df commit 998f60e

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

tencentcloud/services/tcr/resource_tc_tcr_service_account.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@ func ResourceTencentCloudTcrServiceAccount() *schema.Resource {
9393
Description: "Password of the service account.",
9494
},
9595

96-
"reset_password": {
97-
Optional: true,
98-
Type: schema.TypeBool,
99-
Description: "Reset password.",
100-
},
101-
10296
"tags": {
10397
Type: schema.TypeMap,
10498
Optional: true,

tencentcloud/services/tcr/resource_tc_tcr_service_account_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func TestAccTencentCloudTcrServiceAccountResource_basic(t *testing.T) {
7979
const testAccTcrServiceAccount = `
8080
8181
resource "tencentcloud_tcr_instance" "example" {
82-
name = "tf-example-tcr-instance1"
82+
name = "tf-example-tcr-instance2"
8383
instance_type = "premium"
8484
delete_bucket = true
8585
tags = {
@@ -116,7 +116,7 @@ resource "tencentcloud_tcr_instance" "example" {
116116
const testAccTcrServiceAccount_Update = `
117117
118118
resource "tencentcloud_tcr_instance" "example" {
119-
name = "tf-example-tcr-instance1"
119+
name = "tf-example-tcr-instance2"
120120
instance_type = "premium"
121121
delete_bucket = true
122122
tags = {
@@ -153,7 +153,7 @@ resource "tencentcloud_tcr_instance" "example" {
153153
const testAccTcrServiceAccount_updatePassword = `
154154
155155
resource "tencentcloud_tcr_instance" "example" {
156-
name = "tf-example-tcr-instance1"
156+
name = "tf-example-tcr-instance2"
157157
instance_type = "premium"
158158
delete_bucket = true
159159
tags = {

website/docs/r/tcr_service_account.html.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ The following arguments are supported:
8484
* `duration` - (Optional, Int) expiration date (unit: day), calculated from the current time, priority is higher than ExpiresAt Service account description.
8585
* `expires_at` - (Optional, Int) Service account expiration time (time stamp, unit: milliseconds).
8686
* `password` - (Optional, String) Password of the service account.
87-
* `reset_password` - (Optional, Bool) Reset password.
8887
* `tags` - (Optional, Map) Tag description list.
8988

9089
The `permissions` object supports the following:

0 commit comments

Comments
 (0)