File tree Expand file tree Collapse file tree 3 files changed +30
-7
lines changed
tencentcloud/services/cos Expand file tree Collapse file tree 3 files changed +30
-7
lines changed Original file line number Diff line number Diff line change 1+ ```release-note:enhancement
2+ resource/tencentcloud_cos_buckets: update doc
3+ ```
Original file line number Diff line number Diff line change @@ -2,9 +2,19 @@ Use this data source to query the COS buckets of the current Tencent Cloud user.
22
33Example Usage
44
5+ Query all cos buckets
6+
7+ ``` hcl
8+ data "tencentcloud_cos_buckets" "example" {}
9+ ```
10+
11+ Query cos buckets by filters
12+
513``` hcl
6- data "tencentcloud_cos_buckets" "cos_buckets" {
7- bucket_prefix = "tf-bucket-"
8- result_output_file = "mytestpath"
14+ data "tencentcloud_cos_buckets" "example" {
15+ bucket_prefix = "tf-example-prefix"
16+ tags = {
17+ createBy = "Terraform"
18+ }
919}
10- ```
20+ ```
Original file line number Diff line number Diff line change @@ -13,10 +13,20 @@ Use this data source to query the COS buckets of the current Tencent Cloud user.
1313
1414## Example Usage
1515
16+ ### Query all cos buckets
17+
18+ ``` hcl
19+ data "tencentcloud_cos_buckets" "example" {}
20+ ```
21+
22+ ### Query cos buckets by filters
23+
1624``` hcl
17- data "tencentcloud_cos_buckets" "cos_buckets" {
18- bucket_prefix = "tf-bucket-"
19- result_output_file = "mytestpath"
25+ data "tencentcloud_cos_buckets" "example" {
26+ bucket_prefix = "tf-example-prefix"
27+ tags = {
28+ createBy = "Terraform"
29+ }
2030}
2131```
2232
You can’t perform that action at this time.
0 commit comments