File tree 3 files changed +30
-7
lines changed
tencentcloud/services/cos
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.
2
2
3
3
Example Usage
4
4
5
+ Query all cos buckets
6
+
7
+ ``` hcl
8
+ data "tencentcloud_cos_buckets" "example" {}
9
+ ```
10
+
11
+ Query cos buckets by filters
12
+
5
13
``` 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
+ }
9
19
}
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.
13
13
14
14
## Example Usage
15
15
16
+ ### Query all cos buckets
17
+
18
+ ``` hcl
19
+ data "tencentcloud_cos_buckets" "example" {}
20
+ ```
21
+
22
+ ### Query cos buckets by filters
23
+
16
24
``` 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
+ }
20
30
}
21
31
```
22
32
You can’t perform that action at this time.
0 commit comments