newrelic_alert_policy_channel
Example Usage
resource "newrelic_alert_policy" "foo" { name = "foo" } resource "newrelic_alert_channel" "foo" { name = "foo" type = "email" configuration = { recipients = "[email protected]" include_json_attachment = "1" } } resource "newrelic_alert_policy_channel" "foo" { policy_id = "${newrelic_alert_policy.foo.id}" channel_id = "${newrelic_alert_channel.foo.id}" }
Argument Reference
The following arguments are supported:
-
policy_id
- (Required) The ID of the policy. -
channel_id
- (Required) The ID of the channel.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/newrelic/r/alert_policy_channel.html