-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
19 lines (16 loc) · 877 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
output "pagerduty_service" {
value = var.business ? pagerduty_business_service.default[0] : pagerduty_service.default[0]
description = "PagerDuty service."
}
output "cloudwatch_integration_key" {
value = length(pagerduty_service_integration.cloudwatch) > 0 ? pagerduty_service_integration.cloudwatch[0].integration_key : null
description = "PagerDuty service CloudWatch integration key."
}
output "datadog_integration_key" {
value = length(pagerduty_service_integration.datadog) > 0 ? pagerduty_service_integration.datadog[0].integration_key : null
description = "PagerDuty service DataDog integration key."
}
output "newrelic_integration_key" {
value = length(pagerduty_service_integration.newrelic) > 0 ? pagerduty_service_integration.newrelic[0].integration_key : null
description = "PagerDuty service NewRelic integration key."
}