Hi guys, I am looking to configure new relic monitoring with Terraform but I am experiencing the folliowing issue:
Error: Reference to undeclared resource
on main.tf line 13, in resource “newrelic_alert_condition” “alert_condition_name”:
13: policy_id = newrelic_alert_policy.my_alert_policy_name.id
A managed resource “newrelic_alert_policy” “my_alert_policy_name” has not been
declared in the root module.