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/3419.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/tencentcloud_cos_bucket: update `filter_prefix` property
```
2 changes: 1 addition & 1 deletion tencentcloud/services/cos/resource_tc_cos_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func ResourceTencentCloudCosBucket() *schema.Resource {
},
"filter_prefix": {
Type: schema.TypeString,
Required: true,
Optional: true,
Description: "Object key prefix identifying one or more objects to which the rule applies.",
},
"transition": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/cos_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ The `expiration` object of `lifecycle_rules` supports the following:

The `lifecycle_rules` object supports the following:

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