Skip to content

Commit c4b283f

Browse files
committed
add
1 parent c008ffa commit c4b283f

16 files changed

+28
-12
lines changed

website/docs/d/cos_bucket_inventorys.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ data "tencentcloud_cos_bucket_inventorys" "cos_bucket_inventorys" {
2424
The following arguments are supported:
2525

2626
* `bucket` - (Required, String) Bucket.
27+
* `cdc_id` - (Optional, String) CDC cluster ID.
2728
* `result_output_file` - (Optional, String) Used to save results.
2829

2930
## Attributes Reference

website/docs/d/cos_bucket_multipart_uploads.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ data "tencentcloud_cos_bucket_multipart_uploads" "cos_bucket_multipart_uploads"
2424
The following arguments are supported:
2525

2626
* `bucket` - (Required, String) Bucket.
27+
* `cdc_id` - (Optional, String) CDC cluster ID.
2728
* `delimiter` - (Optional, String) The delimiter is a symbol, and the Object name contains the Object between the specified prefix and the first occurrence of delimiter characters as a set of elements: common prefix. If there is no prefix, start from the beginning of the path.
2829
* `encoding_type` - (Optional, String) Specifies the encoding format of the return value. Legal value: url.
2930
* `prefix` - (Optional, String) The returned Object key must be prefixed with Prefix. Note that when using the prefix query, the returned key still contains Prefix.

website/docs/d/cos_bucket_object.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ The following arguments are supported:
2727

2828
* `bucket` - (Required, String) Name of the bucket that contains the objects to query.
2929
* `key` - (Required, String) The full path to the object inside the bucket.
30+
* `cdc_id` - (Optional, String) CDC cluster ID.
3031
* `result_output_file` - (Optional, String) Used to save results.
3132

3233
## Attributes Reference

website/docs/d/cos_buckets.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ data "tencentcloud_cos_buckets" "cos_buckets" {
2525
The following arguments are supported:
2626

2727
* `bucket_prefix` - (Optional, String) A prefix string to filter results by bucket name.
28+
* `cdc_id` - (Optional, String) CDC cluster ID.
2829
* `result_output_file` - (Optional, String) Used to save results.
2930
* `tags` - (Optional, Map) Tags to filter bucket.
3031

website/docs/r/cos_bucket.html.markdown

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ locals {
2222
app_id = data.tencentcloud_user_info.info.app_id
2323
}
2424
25-
resource "tencentcloud_cos_bucket" "private_sbucket" {
25+
resource "tencentcloud_cos_bucket" "example" {
2626
bucket = "private-bucket-${local.app_id}"
2727
acl = "private"
2828
}
@@ -37,7 +37,7 @@ locals {
3737
app_id = data.tencentcloud_user_info.info.app_id
3838
}
3939
40-
resource "tencentcloud_cos_bucket" "multi_zone_bucket" {
40+
resource "tencentcloud_cos_bucket" "example" {
4141
bucket = "multi-zone-bucket-${local.app_id}"
4242
acl = "private"
4343
multi_az = true
@@ -55,7 +55,7 @@ locals {
5555
app_id = data.tencentcloud_user_info.info.app_id
5656
}
5757
58-
resource "tencentcloud_cos_bucket" "bucket_with_acl" {
58+
resource "tencentcloud_cos_bucket" "example" {
5959
bucket = "bucketwith-acl-${local.app_id}"
6060
# NOTE: Specify the acl_body by the priority sequence of permission and user type with the following sequence: `CanonicalUser with READ`, `CanonicalUser with WRITE`, `CanonicalUser with FULL_CONTROL`, `CanonicalUser with WRITE_ACP`, `CanonicalUser with READ_ACP`, then specify the `Group` of permissions same as `CanonicalUser`.
6161
acl_body = <<EOF
@@ -132,7 +132,7 @@ locals {
132132
app_id = data.tencentcloud_user_info.info.app_id
133133
}
134134
135-
resource "tencentcloud_cos_bucket" "bucket_with_static_website" {
135+
resource "tencentcloud_cos_bucket" "example" {
136136
bucket = "bucket-with-static-website-${local.app_id}"
137137
138138
website {
@@ -142,7 +142,7 @@ resource "tencentcloud_cos_bucket" "bucket_with_static_website" {
142142
}
143143
144144
output "endpoint_test" {
145-
value = tencentcloud_cos_bucket.bucket_with_static_website.website.0.endpoint
145+
value = tencentcloud_cos_bucket.example.website.0.endpoint
146146
}
147147
```
148148

@@ -155,12 +155,12 @@ locals {
155155
app_id = data.tencentcloud_user_info.info.app_id
156156
}
157157
158-
resource "tencentcloud_cos_bucket" "bucket_with_cors" {
158+
resource "tencentcloud_cos_bucket" "example" {
159159
bucket = "bucket-with-cors-${local.app_id}"
160160
acl = "public-read-write"
161161
162162
cors_rules {
163-
allowed_origins = ["http://*.abc.com"]
163+
allowed_origins = ["https://*.abc.com"]
164164
allowed_methods = ["PUT", "POST"]
165165
allowed_headers = ["*"]
166166
max_age_seconds = 300
@@ -178,7 +178,7 @@ locals {
178178
app_id = data.tencentcloud_user_info.info.app_id
179179
}
180180
181-
resource "tencentcloud_cos_bucket" "bucket_with_lifecycle" {
181+
resource "tencentcloud_cos_bucket" "example" {
182182
bucket = "bucket-with-lifecycle-${local.app_id}"
183183
acl = "public-read-write"
184184
@@ -209,13 +209,13 @@ locals {
209209
region = "ap-guangzhou"
210210
}
211211
212-
resource "tencentcloud_cos_bucket" "bucket_replicate" {
212+
resource "tencentcloud_cos_bucket" "example1" {
213213
bucket = "bucket-replicate-${local.app_id}"
214214
acl = "private"
215215
versioning_enable = true
216216
}
217217
218-
resource "tencentcloud_cos_bucket" "bucket_with_replication" {
218+
resource "tencentcloud_cos_bucket" "example2" {
219219
bucket = "bucket-with-replication-${local.app_id}"
220220
acl = "private"
221221
versioning_enable = true
@@ -224,7 +224,7 @@ resource "tencentcloud_cos_bucket" "bucket_with_replication" {
224224
id = "test-rep1"
225225
status = "Enabled"
226226
prefix = "dist"
227-
destination_bucket = "qcs::cos:${local.region}::${tencentcloud_cos_bucket.bucket_replicate.bucket}"
227+
destination_bucket = "qcs::cos:${local.region}::${tencentcloud_cos_bucket.example1.bucket}"
228228
}
229229
}
230230
```
@@ -237,6 +237,7 @@ The following arguments are supported:
237237
* `acceleration_enable` - (Optional, Bool) Enable bucket acceleration.
238238
* `acl_body` - (Optional, String) ACL XML body for multiple grant info. NOTE: this argument will overwrite `acl`. Check https://intl.cloud.tencent.com/document/product/436/7737 for more detail.
239239
* `acl` - (Optional, String) The canned ACL to apply. Valid values: private, public-read, and public-read-write. Defaults to private.
240+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
240241
* `cors_rules` - (Optional, List) A rule of Cross-Origin Resource Sharing (documented below).
241242
* `enable_intelligent_tiering` - (Optional, Bool) Enable intelligent tiering. NOTE: When intelligent tiering configuration is enabled, it cannot be turned off or modified.
242243
* `encryption_algorithm` - (Optional, String) The server-side encryption algorithm to use. Valid value is `AES256`.
@@ -343,6 +344,6 @@ In addition to all arguments above, the following attributes are exported:
343344
COS bucket can be imported, e.g.
344345

345346
```
346-
$ terraform import tencentcloud_cos_bucket.bucket bucket-name
347+
$ terraform import tencentcloud_cos_bucket.example bucket-name-1309118522
347348
```
348349

website/docs/r/cos_bucket_domain_certificate_attachment.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The following arguments are supported:
3535

3636
* `bucket` - (Required, String, ForceNew) Bucket name.
3737
* `domain_certificate` - (Required, List, ForceNew) The certificate of specified doamin.
38+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
3839

3940
The `certificate` object of `domain_certificate` supports the following:
4041

website/docs/r/cos_bucket_generate_inventory_immediately_operation.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The following arguments are supported:
2626

2727
* `bucket` - (Required, String, ForceNew) Bucket.
2828
* `inventory_id` - (Required, String, ForceNew) The id of inventory.
29+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
2930

3031
## Attributes Reference
3132

website/docs/r/cos_bucket_inventory.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ The following arguments are supported:
5050
* `is_enabled` - (Required, String) Whether to enable the inventory. true or false.
5151
* `name` - (Required, String, ForceNew) Inventory Name.
5252
* `schedule` - (Required, List) Inventory job cycle.
53+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
5354
* `filter` - (Optional, List) Filters objects prefixed with the specified value to analyze.
5455
* `optional_fields` - (Optional, List) Analysis items to include in the inventory result .
5556

website/docs/r/cos_bucket_object.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The following arguments are supported:
4646
* `key` - (Required, String, ForceNew) The name of the object once it is in the bucket.
4747
* `acl` - (Optional, String) The canned ACL to apply. Available values include `private`, `public-read`, and `public-read-write`. Defaults to `private`.
4848
* `cache_control` - (Optional, String) Specifies caching behavior along the request/reply chain. For further details, RFC2616 can be referred.
49+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
4950
* `content_disposition` - (Optional, String) Specifies presentational information for the object.
5051
* `content_encoding` - (Optional, String) Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.
5152
* `content_type` - (Optional, String) A standard MIME type describing the format of the object data.

website/docs/r/cos_bucket_policy.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ The following arguments are supported:
4848

4949
* `bucket` - (Required, String, ForceNew) The name of a bucket to be created. Bucket format should be [custom name]-[appid], for example `mycos-1258798060`.
5050
* `policy` - (Required, String) The text of the policy. For more info please refer to [Tencent official doc](https://intl.cloud.tencent.com/document/product/436/18023).
51+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
5152

5253
## Attributes Reference
5354

website/docs/r/cos_bucket_referer.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ The following arguments are supported:
3131
* `domain_list` - (Required, Set: [`String`]) A list of domain names in the blocklist/allowlist.
3232
* `referer_type` - (Required, String) Hotlink protection type. Enumerated values: `Black-List`, `White-List`.
3333
* `status` - (Required, String) Whether to enable hotlink protection. Enumerated values: `Enabled`, `Disabled`.
34+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
3435
* `empty_refer_configuration` - (Optional, String) Whether to allow access with an empty referer. Enumerated values: `Allow`, `Deny` (default).
3536

3637
## Attributes Reference

website/docs/r/cos_bucket_version.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The following arguments are supported:
2626

2727
* `bucket` - (Required, String) Bucket format should be [custom name]-[appid], for example `mycos-1258798060`.
2828
* `status` - (Required, String) Whether to enable versioning. Valid values: `Suspended`, `Enabled`.
29+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
2930

3031
## Attributes Reference
3132

website/docs/r/cos_object_abort_multipart_upload_operation.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The following arguments are supported:
2828
* `bucket` - (Required, String, ForceNew) Bucket.
2929
* `key` - (Required, String, ForceNew) Object key.
3030
* `upload_id` - (Required, String, ForceNew) Multipart uploaded id.
31+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
3132

3233
## Attributes Reference
3334

website/docs/r/cos_object_copy_operation.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The following arguments are supported:
2828
* `bucket` - (Required, String, ForceNew) Bucket.
2929
* `key` - (Required, String, ForceNew) Object key.
3030
* `source_url` - (Required, String, ForceNew) Object key.
31+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
3132

3233
## Attributes Reference
3334

website/docs/r/cos_object_download_operation.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The following arguments are supported:
2828
* `bucket` - (Required, String, ForceNew) Bucket.
2929
* `download_path` - (Required, String, ForceNew) Download path.
3030
* `key` - (Required, String, ForceNew) Object key.
31+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
3132

3233
## Attributes Reference
3334

website/docs/r/cos_object_restore_operation.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ There are three recovery models for recovering archived storage type data, which
3737
For deep recovery archive storage type data, there are two recovery models, which are:
3838
- Standard: standard retrieval mode, recovery time is 12-24 hours.
3939
- Bulk: batch retrieval mode, recovery time is 24-48 hours.
40+
* `cdc_id` - (Optional, String, ForceNew) CDC cluster ID.
4041

4142
## Attributes Reference
4243

0 commit comments

Comments
 (0)