forked from abihf/terraform-aws-alb-single-listener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
45 lines (36 loc) · 1.12 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 "lb_dns" {
value = aws_lb.main.dns_name
description = "The DNS name of the load balancer"
}
output "lb_zone_id" {
value = aws_lb.main.zone_id
description = "The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record)"
}
output "lb_arn" {
value = aws_lb.main.arn
description = "The ARN of the ALB"
}
output "lb_arn_suffix" {
value = aws_lb.main.arn_suffix
description = "The ARN suffix of the ALB, useful with CloudWatch Metrics"
}
output "tg_arn" {
value = aws_lb_target_group.default.arn
description = "The arn of the default target group"
}
output "tg_arn_suffix" {
value = aws_lb_target_group.default.arn_suffix
description = "The arn suffix of the default target group, useful with CloudWatch Metrics"
}
output "tg_name" {
value = aws_lb_target_group.default.name
description = "The name of the target group"
}
output "listener_arn" {
value = aws_lb_listener.main.arn
description = "The ARN of the listener"
}
output "listener_id" {
value = aws_lb_listener.main.id
description = "The ID of the listener"
}