resource "newrelic_alert_policy" "foo" { name = "foo" }
The following arguments are supported:
name
- (Required) The name of the policy. incident_preference
- (Optional) The rollup strategy for the policy. Options include: PER_POLICY
, PER_CONDITION
, or PER_CONDITION_AND_TARGET
. The default is PER_POLICY
. The following attributes are exported:
id
- The ID of the policy. created_at
- The time the policy was created. updated_at
- The time the policy was last updated. Alert policies can be imported using the id
, e.g.
$ terraform import newrelic_alert_policy.main 12345
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/newrelic/r/alert_policy.html