File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
tencentcloud/services/cos Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ ```release-note:enhancement
2+ resource/tencentcloud_cos_bucket: update `filter_prefix` property
3+ ```
Original file line number Diff line number Diff 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" : {
Original file line number Diff line number Diff line change @@ -491,9 +491,9 @@ The `expiration` object of `lifecycle_rules` supports the following:
491491
492492The ` 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.
You can’t perform that action at this time.
0 commit comments