Skip to content

Commit 9774c5c

Browse files
author
mikatong
committed
update
1 parent 998f60e commit 9774c5c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tencentcloud/services/tcr/resource_tc_tcr_service_account.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ func ResourceTencentCloudTcrServiceAccount() *schema.Resource {
8989
"password": {
9090
Optional: true,
9191
Computed: true,
92+
Sensitive: true,
9293
Type: schema.TypeString,
9394
Description: "Password of the service account.",
9495
},

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-instance2"
82+
name = "tf-example-tcr-instance3"
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-instance2"
119+
name = "tf-example-tcr-instance3"
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-instance2"
156+
name = "tf-example-tcr-instance3"
157157
instance_type = "premium"
158158
delete_bucket = true
159159
tags = {

0 commit comments

Comments
 (0)