mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 10:01:08 -04:00
1.1 KiB
1.1 KiB
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| ns1 | NS1: ns1_notifylist | docs-ns1-resource-notifylist | Provides a NS1 Notify List resource. |
ns1_notifylist
Provides a NS1 Notify List resource. This can be used to create, modify, and delete notify lists.
Example Usage
resource "ns1_notifylist" "nl" {
name = "my notify list"
notifications = {
type = "webhook"
config = {
url = "http://www.mywebhook.com"
}
}
notifications = {
type = "email"
config = {
email = "test@test.com"
}
}
}
Argument Reference
The following arguments are supported:
name- (Required) The free-form display name for the notify list.notifications- (Optional) A list of notifiers. All notifiers in a notification list will receive notifications whenever an event is send to the list (e.g., when a monitoring job fails). Notifiers are documented below.
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.