Skip to content

Commit d437767

Browse files
authored
docs: webhook action connector (#1518)
* docs: webhook action connector * remove commas
1 parent 8e9a240 commit d437767

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

docs/resources/kibana_action_connector.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,21 @@ resource "elasticstack_kibana_action_connector" "genai-azure-connector" {
9090
apiKey = "<your-azure-api-key>"
9191
})
9292
}
93+
94+
resource "elasticstack_kibana_action_connector" "webhook" {
95+
name = "webhook"
96+
connector_type_id = ".webhook"
97+
config = jsonencode({
98+
url = "<your-webhookUrl>"
99+
authType = "webhook-authentication-basic"
100+
hasAuth = true
101+
method = "post"
102+
})
103+
secrets = jsonencode({
104+
user = "<your-user>"
105+
password = "<your-password>"
106+
})
107+
}
93108
```
94109

95110
<!-- schema generated by tfplugindocs -->

examples/resources/elasticstack_kibana_action_connector/resource.tf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,18 @@ resource "elasticstack_kibana_action_connector" "genai-azure-connector" {
7575
apiKey = "<your-azure-api-key>"
7676
})
7777
}
78+
79+
resource "elasticstack_kibana_action_connector" "webhook" {
80+
name = "webhook"
81+
connector_type_id = ".webhook"
82+
config = jsonencode({
83+
url = "<your-webhookUrl>"
84+
authType = "webhook-authentication-basic"
85+
hasAuth = true
86+
method = "post"
87+
})
88+
secrets = jsonencode({
89+
user = "<your-user>"
90+
password = "<your-password>"
91+
})
92+
}

0 commit comments

Comments
 (0)