-
Notifications
You must be signed in to change notification settings - Fork 5
/
outputs.tf
47 lines (37 loc) · 1.58 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
output "cloudwatch_endpoint" {
description = "Endpoint for webhook events (Integration URL)"
value = "${element(concat(pagerduty_service_integration.cloudwatch.*.html_url, list("")), 0)}"
}
output "cloudwatch_id" {
description = "AWS Cloudwatch integration ID"
value = "${element(concat(pagerduty_service_integration.cloudwatch.*.id, list("")), 0)}"
}
output "cloudwatch_key" {
description = "AWS Cloudwatch integration key"
value = "${element(concat(pagerduty_service_integration.cloudwatch.*.integration_key, list("")), 0)}"
}
output "datadog_id" {
description = "Datadog integration ID"
value = "${element(concat(pagerduty_service_integration.datadog.*.id, list("")), 0)}"
}
output "datadog_key" {
description = "Datadog integration key"
value = "${element(concat(pagerduty_service_integration.datadog.*.integration_key, list("")), 0)}"
}
output "escalation_policy_id" {
description = "Escalation policy ID"
value = "${element(concat(pagerduty_escalation_policy.this.*.id, list("")), 0)}"
}
output "service_id" {
description = "Pagerduty service ID"
value = "${element(concat(pagerduty_service.this.*.id, list("")), 0)}"
}
output "service_monitor_id" {
description = "AWS Lambda Service Monitor integration ID"
value = "${element(concat(pagerduty_service_integration.service_monitor.*.id, list("")), 0)}"
}
output "service_monitor_key" {
description = "AWS Lambda Service Monitor integration key"
value = "${element(concat(pagerduty_service_integration.service_monitor.*.integration_key, list("")), 0)}"
}
#slack_id