Skip to content

Commit 48121c5

Browse files
committed
fix complete example
1 parent ca8c305 commit 48121c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/complete/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ resource "netdata_notification_slack_channel" "test" {
9090
enabled = true
9191
space_id = netdata_space.test.id
9292
rooms_id = [netdata_room.test.id]
93-
alarms = "ALARMS_SETTING_ALL"
93+
notifications = ["CRITICAL", "WARNING", "CLEAR"]
9494
repeat_notification_min = 60
9595
webhook_url = "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
9696
}
@@ -101,7 +101,7 @@ resource "netdata_notification_discord_channel" "test" {
101101
enabled = true
102102
space_id = netdata_space.test.id
103103
rooms_id = [netdata_room.test.id]
104-
alarms = "ALARMS_SETTING_ALL"
104+
notifications = ["CRITICAL", "WARNING", "CLEAR"]
105105
webhook_url = "https://discord.com/api/webhooks/0000000000000/XXXXXXXXXXXXXXXXXXXXXXXX"
106106
channel_type = "forum"
107107
channel_thread = "thread"
@@ -112,7 +112,7 @@ resource "netdata_notification_pagerduty_channel" "test" {
112112

113113
enabled = true
114114
space_id = netdata_space.test.id
115-
alarms = "ALARMS_SETTING_ALL"
115+
notifications = ["CRITICAL", "WARNING", "CLEAR"]
116116
alert_events_url = "https://events.pagerduty.com/v2/enqueue"
117117
integration_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
118118
}

0 commit comments

Comments
 (0)