-
Notifications
You must be signed in to change notification settings - Fork 5
/
outputs.tf
44 lines (35 loc) · 1.26 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
output "load_balancer_arn" {
value = aws_lb.main.id
description = "ARN of load balancer"
}
output "load_balancer_arn_suffix" {
value = aws_lb.main.arn_suffix
description = "ARN suffix of load balancer"
}
output "load_balancer_dns_name" {
value = aws_lb.main.dns_name
}
output "load_balancer_zone_id" {
value = aws_lb.main.zone_id
}
output "load_balancer_listener_arn" {
value = aws_lb_listener.front_end.arn
# value = var.alb_listener_default_action == "forward" ? aws_lb_listener.front_end_forward[0].arn : aws_lb_listener.front_end_redirect[0].arn
description = "ARN of load balancer listener"
}
output "load_balancer_target_group_arn" {
value = aws_lb_target_group.app.arn
description = "ARN of load balancer target group"
}
output "monitoring_sns_topic_arn" {
value = var.enable_monitoring ? module.notify-slack.this_slack_topic_arn : ""
description = "ARN of SNS topic that Slack forwarder lambda is listening to (only set if enable_monitoring = true)"
}
output "task_security_group_id" {
value = aws_security_group.ecs_task.id
description = "ID of Security Group for ECS Task"
}
output "lb_security_group_id" {
value = aws_security_group.lb.id
description = "ID of Security Group for load balancer"
}