File tree Expand file tree Collapse file tree 3 files changed +9
-28
lines changed
tencentcloud/services/ckafka Expand file tree Collapse file tree 3 files changed +9
-28
lines changed Original file line number Diff line number Diff line change 1+ ```release-note:enhancement
2+ datasource/tencentcloud_ckafka_topics: Update ckafka topics docs
3+ ```
Original file line number Diff line number Diff line change @@ -3,19 +3,8 @@ Use this data source to query detailed information of ckafka topic.
33Example Usage
44
55``` hcl
6- resource "tencentcloud_ckafka_topic" "foo" {
7- instance_id = "ckafka-f9ife4zz"
8- topic_name = "example"
9- note = "topic note"
10- replica_num = 2
11- partition_num = 1
12- enable_white_list = true
13- ip_white_list = ["ip1","ip2"]
14- clean_up_policy = "delete"
15- sync_replica_min_num = 1
16- unclean_leader_election_enable = false
17- segment = 3600000
18- retention = 60000
19- max_message_bytes = 1024
6+ data "tencentcloud_ckafka_topics" "example" {
7+ instance_id = "ckafka-vv7wp5nx"
8+ topic_name = "tf_example"
209}
2110```
Original file line number Diff line number Diff line change @@ -14,20 +14,9 @@ Use this data source to query detailed information of ckafka topic.
1414## Example Usage
1515
1616``` hcl
17- resource "tencentcloud_ckafka_topic" "foo" {
18- instance_id = "ckafka-f9ife4zz"
19- topic_name = "example"
20- note = "topic note"
21- replica_num = 2
22- partition_num = 1
23- enable_white_list = true
24- ip_white_list = ["ip1", "ip2"]
25- clean_up_policy = "delete"
26- sync_replica_min_num = 1
27- unclean_leader_election_enable = false
28- segment = 3600000
29- retention = 60000
30- max_message_bytes = 1024
17+ data "tencentcloud_ckafka_topics" "example" {
18+ instance_id = "ckafka-vv7wp5nx"
19+ topic_name = "tf_example"
3120}
3221```
3322
You can’t perform that action at this time.
0 commit comments