File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
examples/resources/grafana_oncall_outgoing_webhook Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,15 @@ resource "grafana_oncall_outgoing_webhook" "test-acc-outgoing_webhook" {
29
29
// Optional: specify the team to which the outgoing webhook belongs
30
30
team_id = data.grafana_oncall_team.my_team.id
31
31
}
32
+
33
+ resource "grafana_oncall_outgoing_webhook" "test-acc-outgoing_webhook-incident" {
34
+ provider = grafana.oncall
35
+ name = "my outgoing incident webhook"
36
+ preset = "incident_webhook"
37
+ http_method = "POST"
38
+ url = "https://example.com/"
39
+ trigger_type = "incident declared"
40
+ }
32
41
```
33
42
34
43
<!-- schema generated by tfplugindocs -->
Original file line number Diff line number Diff line change @@ -14,3 +14,12 @@ resource "grafana_oncall_outgoing_webhook" "test-acc-outgoing_webhook" {
14
14
// Optional: specify the team to which the outgoing webhook belongs
15
15
team_id = data. grafana_oncall_team . my_team . id
16
16
}
17
+
18
+ resource "grafana_oncall_outgoing_webhook" "test-acc-outgoing_webhook-incident" {
19
+ provider = grafana. oncall
20
+ name = " my outgoing incident webhook"
21
+ preset = " incident_webhook"
22
+ http_method = " POST"
23
+ url = " https://example.com/"
24
+ trigger_type = " incident declared"
25
+ }
You can’t perform that action at this time.
0 commit comments