resource "newrelic_alert_channel" "foo" {
name = "foo"
type = "email"
configuration = {
recipients = "[email protected]"
include_json_attachment = "1"
}
}
The following arguments are supported:
name - (Required) The name of the channel. type - (Required) The type of channel. One of: campfire, email, hipchat, opsgenie, pagerduty, slack, victorops, or webhook. configuration - (Required) A map of key / value pairs with channel type specific values. The following attributes are exported:
id - The ID of the channel. Alert channels can be imported using the id, e.g.
$ terraform import newrelic_alert_channel.main 12345
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/newrelic/r/alert_channel.html