Skip to content

Commit 67dc53d

Browse files
committed
update desc of cdc sse-kms
1 parent 12ec78c commit 67dc53d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tencentcloud/services/cos/resource_tc_cos_bucket.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@ func ResourceTencentCloudCosBucket() *schema.Resource {
188188
"encryption_algorithm": {
189189
Type: schema.TypeString,
190190
Optional: true,
191-
Description: "The server-side encryption algorithm to use. Valid value is `AES256` or `KMS`.",
191+
Description: "The server-side encryption algorithm to use. Valid values are `AES256`, `KMS` and `cos/kms`, `cos/kms` is for cdc cos scenario.",
192192
},
193193
"kms_id": {
194194
Type: schema.TypeString,
195195
Optional: true,
196-
Description: "The KMS Master Key ID. When `encryption_algorithm` is set to `KMS`, please provide it.",
196+
Description: "The KMS Master Key ID. This value is valid only when `encryption_algorithm` is set to KMS or cos/kms. Set kms id to the specified value. If not specified, the default kms id is used.",
197197
},
198198
"versioning_enable": {
199199
Type: schema.TypeBool,

tencentcloud/services/cos/resource_tc_cos_bucket.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "tencentcloud_kms_key" "example" {
5858
resource "tencentcloud_cos_bucket" "bucket_basic" {
5959
bucket = "tf-bucket-cdc-${local.app_id}"
6060
acl = "private"
61-
encryption_algorithm = "KMS"
61+
encryption_algorithm = "KMS" #cos/kms for cdc cos
6262
kms_id = tencentcloud_kms_key.example.id
6363
versioning_enable = true
6464
acceleration_enable = true

0 commit comments

Comments
 (0)