File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ resource "newrelic_alert_condition" "spin-appdex" {
1818
1919 name = " spin-appdex"
2020 type = " apm_app_metric"
21- entities = [ " 179953338 " ] # You can look this up in New Relic
21+ entities = " ${ var . newrelic_apm_entities } "
2222 metric = " apdex"
23- runbook_url = " https://github.com/devops-infra-demo/wiki/runbook "
23+ runbook_url = " ${ var . newrelic_runbook_url } "
2424
2525 term {
2626 duration = 5
Original file line number Diff line number Diff line change @@ -96,6 +96,11 @@ variable "newrelic_apm_entities" {
9696 default = []
9797}
9898
99+ variable "newrelic_runbook_url" {
100+ description = " New Relic runbook URL"
101+ default = " https://github.com/ModusCreateOrg/devops-infra-demo/wiki/runbook"
102+ }
103+
99104variable "newrelic_alert_email" {
100105 description = " New Relic alert email"
101106 default = " "
You can’t perform that action at this time.
0 commit comments