On this page
newrelic_alert_channel
Example Usage
resource "newrelic_alert_channel" "foo" {
name = "foo"
type = "email"
configuration = {
recipients = "foo@example.com"
include_json_attachment = "1"
}
}
Argument Reference
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
, orwebhook
.configuration
- (Required) A map of key / value pairs with channel type specific values.
Attributes Reference
The following attributes are exported:
id
- The ID of the channel.
Import
Alert channels can be imported using the id
, e.g.
$ terraform import newrelic_alert_channel.main 12345
© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/newrelic/r/alert_channel.html