-
-
Notifications
You must be signed in to change notification settings - Fork 124
/
outputs.tf
66 lines (54 loc) · 1.77 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
output "alb_name" {
description = "The ARN suffix of the ALB"
value = one(aws_lb.default[*].name)
}
output "alb_arn" {
description = "The ARN of the ALB"
value = one(aws_lb.default[*].arn)
}
output "alb_arn_suffix" {
description = "The ARN suffix of the ALB"
value = one(aws_lb.default[*].arn_suffix)
}
output "alb_dns_name" {
description = "DNS name of ALB"
value = one(aws_lb.default[*].dns_name)
}
output "alb_zone_id" {
description = "The ID of the zone which ALB is provisioned"
value = one(aws_lb.default[*].zone_id)
}
output "security_group_id" {
description = "The security group ID of the ALB"
value = one(aws_security_group.default[*].id)
}
output "default_target_group_arn" {
description = "The default target group ARN"
value = one(aws_lb_target_group.default[*].arn)
}
output "default_target_group_arn_suffix" {
description = "The default target group ARN suffix"
value = one(aws_lb_target_group.default[*].arn_suffix)
}
output "http_listener_arn" {
description = "The ARN of the HTTP forwarding listener"
value = one(aws_lb_listener.http_forward[*].arn)
}
output "http_redirect_listener_arn" {
description = "The ARN of the HTTP to HTTPS redirect listener"
value = one(aws_lb_listener.http_redirect[*].arn)
}
output "https_listener_arn" {
description = "The ARN of the HTTPS listener"
value = one(aws_lb_listener.https[*].arn)
}
output "listener_arns" {
description = "A list of all the listener ARNs"
value = compact(
concat(aws_lb_listener.http_forward[*].arn, aws_lb_listener.http_redirect[*].arn, aws_lb_listener.https[*].arn)
)
}
output "access_logs_bucket_id" {
description = "The S3 bucket ID for access logs"
value = module.access_logs.bucket_id
}