Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AshleyPoole/c4e8a9f47260e3fb16a501745082d7df to your computer and use it in GitHub Desktop.
Save AshleyPoole/c4e8a9f47260e3fb16a501745082d7df to your computer and use it in GitHub Desktop.
Debug Ouput for newrelic_infra_alert_condition failure
...
module.newrelic.newrelic_alert_policy.infra_policy - *terraform.NodePlannableResourceInstance
-----
2019/03/04 10:46:54 [DEBUG] Resource state not found for "module.newrelic.newrelic_infra_alert_condition.high_disk_space_generic": module.newrelic.newrelic_infra_alert_condition.high_disk_space_generic
2019/03/04 10:46:54 [DEBUG] ReferenceTransformer: "module.newrelic.newrelic_infra_alert_condition.high_disk_space_con_and_bld_servers" references: []
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.ReferenceTransformer:
module.newrelic.newrelic_infra_alert_condition.high_disk_space_con_and_bld_servers - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.RootTransformer:
module.newrelic.newrelic_infra_alert_condition.high_disk_space_con_and_bld_servers - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [DEBUG] Resource state not found for "module.newrelic.newrelic_infra_alert_condition.host_not_reporting": module.newrelic.newrelic_infra_alert_condition.host_not_reporting
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.AttachStateTransformer:
module.newrelic.newrelic_infra_alert_condition.host_not_reporting - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.TargetsTransformer:
module.newrelic.newrelic_infra_alert_condition.host_not_reporting - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.ResourceCountTransformer:
module.newrelic.newrelic_alert_policy_channel.infra_policy - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [DEBUG] Resource state not found for "module.newrelic.newrelic_alert_condition.apdex": module.newrelic.newrelic_alert_condition.apdex
2019/03/04 10:46:54 [DEBUG] ReferenceTransformer: "module.newrelic.newrelic_infra_alert_condition.host_not_reporting" references: []
2019/03/04 10:46:54 [TRACE] OrphanResourceCount: Starting...
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.ReferenceTransformer:
module.newrelic.newrelic_infra_alert_condition.host_not_reporting - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] root.newrelic: eval: *terraform.EvalCountCheckComputed
2019/03/04 10:46:54 [TRACE] root.newrelic: eval: *terraform.EvalIf
2019/03/04 10:46:54 [TRACE] Graph after step *terrafor2019/03/04 10:46:54 [DEBUG] ReferenceTransformer: "module.newrelic.newrelic_alert_condition.apdex" references: []
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.ReferenceTransformer:
module.newrelic.newrelic_alert_condition.apdex - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.RootTransformer:
module.newrelic.newrelic_alert_condition.apdex - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] root.newrelic: eval: *terraform.EvalGetProvider
2019/03/04 10:46:54 [TRACE] root.newrelic: eval: *terraform.EvalValidateResource
2019/03/04 10:46:54 [TRACE] dag/walk: added new vertex: "module.newrelic.newrelic_alert_condition.apdex"
2019/03/04 10:46:54 [TRACE] dag/walk: added new vertex: "module.newrelic.newrelic_infra_alert_condition.high_disk_space_con_and_bld_servers"
2019/03/04 10:46:54 [DEBUG] Resource state not found for "module.newrelic.newrelic_infra_alert_condition.high_cpu_usage_generic": module.newrelic.newrelic_infra_alert_condition.high_cpu_usage_generic
2019/03/04 10:46:54 [TRACE] dag/walk: walking "module.newrelic.newrelic_alert_condition.apdex"
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.RootTransformer:
module.newrelic.newrelic_infra_alert_condition.host_not_reporting - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.AttachStateTransformer:
module.newrelic.newrelic_infra_alert_condition.high_cpu_usage_generic - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:
module.newrelic.newrelic_alert_policy_channel.infra_policy - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] Graph after step *terraform.TargetsTransformer:
module.newrelic.newrelic_infra_alert_condition.high_cpu_usage_generic - *terraform.NodePlannableResourceInstance
2019/03/04 10:46:54 [TRACE] dag/walk: walking "module.newrelic.newrelic_infra_alert_condition.high_disk_space_con_and_bld_servers"
2019/03/04 10:terpolate
m.EvalValidateResource
2019/03/04 10:46:54 [ERROR] root.newrelic: eval: *terraform.EvalValidateResource, err: Warnings: []. Errors: [entities.0: cannot parse '' as int: strconv.ParseInt: parsing "": invalid syntax]
2019/03/04 10:46:54 [TRACE] root.newrelic: eval: *terraform.EvalDiff
2019/03/04 10:46:54 [ERROR] root.newrelic: eval: *terraform.EvalSequence, err: Warnings: []. Errors: [entities.0: cannot parse '' as int: strconv.ParseInt: parsing "": invalid syntax]
2019/03/04 10:46:54 [TRACE] root.newrelic: eval: *terraform.EvalReadState
2019/03/04 10:46:54 [TRACE] [walkPlan] Exiting eval tree: module.newrelic.newrelic_alert_condition.apdex
2019/03/04 10:46:54 [TRACE] root.newrelic: eval: *terraform.EvalDiff
2019/03/04 10:46:55 [DEBUG] plugin: waiting for all plugin processes to complete...
2019-03-04T10:46:55.002Z [DEBUG] plugin.terraform-provider-newrelic_v1.4.0_x4.exe: 2019/03/04 10:46:55 [ERR] plugin: plugin server: accept tcp 127.0.0.1:10001: use of closed network connection
2019-03-04T10:46:55.004Z [WARN ] plugin: error closing client during Kill: err="unexpected EOF"
2019-03-04T10:46:55.011Z [DEBUG] plugin: plugin process exited: path=C:\Code\NewRelic\envs\sit\.terraform\plugins\windows_amd64\terraform-provider-external_v1.0.0_x4.exe
2019-03-04T10:46:55.011Z [DEBUG] plugin: plugin process exited: path=C:\Code\NewRelic\envs\sit\.terraform\plugins\windows_amd64\terraform-provider-newrelic_v1.4.0_x4.exe
Error: Error running plan: 1 error(s) occurred:
* module.newrelic.newrelic_alert_condition.apdex: entities.0: cannot parse '' as int: strconv.ParseInt: parsing "": invalid syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment