Skip to content

Commit fb788b3

Browse files
authored
fix(eb): [123456789] tencentcloud_eb_put_events update doc (#3125)
* add * add
1 parent 07c42fe commit fb788b3

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

.changelog/3125.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_eb_put_events: update doc
3+
```
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
Provides a resource to create a eb put_events
1+
Provides a resource to create a EB put events
22

33
Example Usage
44

55
```hcl
6-
resource "tencentcloud_eb_event_bus" "foo" {
7-
event_bus_name = "tf-event_bus"
8-
description = "event bus desc"
6+
resource "tencentcloud_eb_event_bus" "example" {
7+
event_bus_name = "tf-example"
8+
description = "Event bus description."
99
enable_store = false
1010
save_days = 1
1111
tags = {
12-
"createdBy" = "terraform"
12+
createdBy = "terraform"
1313
}
1414
}
1515
16-
resource "tencentcloud_eb_put_events" "put_events" {
16+
resource "tencentcloud_eb_put_events" "example" {
17+
event_bus_id = tencentcloud_eb_event_bus.example.id
1718
event_list {
1819
source = "ckafka.cloud.tencent"
1920
data = jsonencode(
@@ -28,8 +29,6 @@ resource "tencentcloud_eb_put_events" "put_events" {
2829
type = "connector:ckafka"
2930
subject = "qcs::ckafka:ap-guangzhou:uin/1250000000:ckafkaId/uin/1250000000/ckafka-123456"
3031
time = 1691572461939
31-
3232
}
33-
event_bus_id = tencentcloud_eb_event_bus.foo.id
3433
}
3534
```

website/docs/r/eb_put_events.html.markdown

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,28 @@ layout: "tencentcloud"
44
page_title: "TencentCloud: tencentcloud_eb_put_events"
55
sidebar_current: "docs-tencentcloud-resource-eb_put_events"
66
description: |-
7-
Provides a resource to create a eb put_events
7+
Provides a resource to create a EB put events
88
---
99

1010
# tencentcloud_eb_put_events
1111

12-
Provides a resource to create a eb put_events
12+
Provides a resource to create a EB put events
1313

1414
## Example Usage
1515

1616
```hcl
17-
resource "tencentcloud_eb_event_bus" "foo" {
18-
event_bus_name = "tf-event_bus"
19-
description = "event bus desc"
17+
resource "tencentcloud_eb_event_bus" "example" {
18+
event_bus_name = "tf-example"
19+
description = "Event bus description."
2020
enable_store = false
2121
save_days = 1
2222
tags = {
23-
"createdBy" = "terraform"
23+
createdBy = "terraform"
2424
}
2525
}
2626
27-
resource "tencentcloud_eb_put_events" "put_events" {
27+
resource "tencentcloud_eb_put_events" "example" {
28+
event_bus_id = tencentcloud_eb_event_bus.example.id
2829
event_list {
2930
source = "ckafka.cloud.tencent"
3031
data = jsonencode(
@@ -39,9 +40,7 @@ resource "tencentcloud_eb_put_events" "put_events" {
3940
type = "connector:ckafka"
4041
subject = "qcs::ckafka:ap-guangzhou:uin/1250000000:ckafkaId/uin/1250000000/ckafka-123456"
4142
time = 1691572461939
42-
4343
}
44-
event_bus_id = tencentcloud_eb_event_bus.foo.id
4544
}
4645
```
4746

0 commit comments

Comments
 (0)