Skip to content

Commit 0882f12

Browse files
authored
fix(ckafka): [116656892] Update ckafka topics docs (#2570)
* fix/ckafka * fix/ckafka
1 parent 2e8db20 commit 0882f12

File tree

3 files changed

+9
-28
lines changed

3 files changed

+9
-28
lines changed

.changelog/2570.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
datasource/tencentcloud_ckafka_topics: Update ckafka topics docs
3+
```

tencentcloud/services/ckafka/data_source_tc_ckafka_topics.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,8 @@ Use this data source to query detailed information of ckafka topic.
33
Example 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
```

website/docs/d/ckafka_topics.html.markdown

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)