-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathoutputs.tf
29 lines (24 loc) · 1.18 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
output "policy_id" {
description = "The ID of the provisioned alert policy."
value = newrelic_alert_policy.policy.id
}
output "apdex_condition_id" {
description = "The ID of the provisioned Apdex condition."
value = newrelic_nrql_alert_condition.apdex_condition.id
}
output "error_rate_condition_id" {
description = "The ID of the provisioned error rate condition."
value = newrelic_nrql_alert_condition.error_rate_condition.id
}
output "synthetics_monitor_id" {
description = "The ID of the provisioned Synthetics monitor."
value = length(newrelic_synthetics_monitor.synthetics_monitor) > 0 ? newrelic_synthetics_monitor.synthetics_monitor[0].id : null
}
output "synthetics_condition_id" {
description = "The ID of the provisioned Synthetics condition."
value = length(newrelic_nrql_alert_condition.synthetics_condition) > 0 ? newrelic_nrql_alert_condition.synthetics_condition[0].id : null
}
output "reponse_time_condition_id" {
description = "The ID of the provisioned response time condition."
value = length(newrelic_nrql_alert_condition.response_time_condition) > 0 ? newrelic_nrql_alert_condition.response_time_condition[0].id : null
}