Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/3411.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/tencentcloud_cos_bucket_domain_certificate_attachment: set sensitive for `cert` and `private_key`
```
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (

func ResourceTencentCloudCosBucketDomainCertificateAttachment() *schema.Resource {
return &schema.Resource{
Read: resourceTencentCloudCosBucketDomainCertificateAttachmentRead,
Create: resourceTencentCloudCosBucketDomainCertificateAttachmentCreate,
Read: resourceTencentCloudCosBucketDomainCertificateAttachmentRead,
// Update: resourceTencentCloudCosBucketDomainCertificateAttachmentUpdate,
Delete: resourceTencentCloudCosBucketDomainCertificateAttachmentDelete,
Importer: &schema.ResourceImporter{
Expand Down Expand Up @@ -74,12 +74,14 @@ func ResourceTencentCloudCosBucketDomainCertificateAttachment() *schema.Resource
Type: schema.TypeString,
Required: true,
ForceNew: true,
Sensitive: true,
Description: "Public key of certificate.",
},
"private_key": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Sensitive: true,
Description: "Private key of certificate.",
},
},
Expand Down
Loading