From b000886b3f296d90280f7c68836355a1a7ce35b3 Mon Sep 17 00:00:00 2001 From: Isaac Onigman Date: Wed, 14 Apr 2021 21:24:06 -0400 Subject: [PATCH 1/2] Update notifylist.html.markdown --- website/docs/r/notifylist.html.markdown | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/website/docs/r/notifylist.html.markdown b/website/docs/r/notifylist.html.markdown index fc521d69..9811ab63 100644 --- a/website/docs/r/notifylist.html.markdown +++ b/website/docs/r/notifylist.html.markdown @@ -28,6 +28,17 @@ resource "ns1_notifylist" "nl" { email = "test@test.com" } } + + notifications { + config = { + sourceid = "${ns1_datasource.monitoring_datasource.id}" + } + type = "datafeed" + } +} + + + } ``` @@ -40,8 +51,8 @@ The following arguments are supported: Notify List Notifiers (`notifications`) support the following: -* `type` - (Required) The type of notifier. Available notifiers are indicated in /notifytypes endpoint. -* `config` - (Required) Configuration details for the given notifier type. +* `type` - (Required) The type of notifier. Available notifiers are indicated in /notifytypes endpoint. Note type `datafeed` is for NS1 Monitoring Data Sources to enable NS1 monitoring to pass metadata to your records and answers. +* `config` - (Required) Configuration details for the given notifier type. `sourceid` is required in `config` for notifcations to NS1 Monitoring Data Sources. ## Attributes Reference From 4b6ed01e24e0d3de01fd81fe0bcac9d51bf4df02 Mon Sep 17 00:00:00 2001 From: Isaac Onigman Date: Wed, 9 Jun 2021 14:15:05 -0400 Subject: [PATCH 2/2] Update notifylist.html.markdown --- website/docs/r/notifylist.html.markdown | 4 ---- 1 file changed, 4 deletions(-) diff --git a/website/docs/r/notifylist.html.markdown b/website/docs/r/notifylist.html.markdown index 9811ab63..855ac054 100644 --- a/website/docs/r/notifylist.html.markdown +++ b/website/docs/r/notifylist.html.markdown @@ -36,10 +36,6 @@ resource "ns1_notifylist" "nl" { type = "datafeed" } } - - - -} ``` ## Argument Reference