8000 fix(cos): [143453387] `tencentcloud_cos_bucket` update `filter_prefix` property by SevenEarth · Pull Request #3419 · tencentcloudstack/terraform-provider-tencentcloud · GitHub
[go: up one dir, main page]

Skip to content

fix(cos): [143453387] tencentcloud_cos_bucket update filter_prefix property #3419

New issue

Have a question about this project? Sign up for a free GitHub acco 8000 unt to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2025
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
0