Skip to content

Commit 8002da2

Browse files
committed
add
1 parent 53f7568 commit 8002da2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tencentcloud/services/cos/resource_tc_cos_bucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ func ResourceTencentCloudCosBucket() *schema.Resource {
358358
},
359359
"filter_prefix": {
360360
Type: schema.TypeString,
361-
Required: true,
361+
Optional: true,
362362
Description: "Object key prefix identifying one or more objects to which the rule applies.",
363363
},
364364
"transition": {

website/docs/r/cos_bucket.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ The `expiration` object of `lifecycle_rules` supports the following:
491491

492492
The `lifecycle_rules` object supports the following:
493493

494-
* `filter_prefix` - (Required, String) Object key prefix identifying one or more objects to which the rule applies.
495494
* `abort_incomplete_multipart_upload` - (Optional, Set) Set the maximum time a multipart upload is allowed to remain running.
496495
* `expiration` - (Optional, Set) Specifies a period in the object's expire (documented below).
496+
* `filter_prefix` - (Optional, String) Object key prefix identifying one or more objects to which the rule applies.
497497
* `id` - (Optional, String) A unique identifier for the rule. It can be up to 255 characters.
498498
* `non_current_expiration` - (Optional, Set) Specifies when non current object versions shall expire.
499499
* `non_current_transition` - (Optional, Set) Specifies a period in the non current object's transitions.

0 commit comments

Comments
 (0)