Troubleshooting New Relic integration with Terraform

image

Hi guys, I am looking to configure new relic monitoring with Terraform but I am experiencing the folliowing issue:

C:\TerraformForWindows\test\test2>terraform plan

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.

Hello. May I see the manifest file?

Thanks @Dean.mullarkey - Looks like @jthurman just got back to you in that thread :smiley: