generated from geekcell/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
29 lines (24 loc) · 817 Bytes
/
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
output "arn" {
description = "ARN of the Application Load Balancer"
value = aws_lb.main.arn
}
output "arn_suffix" {
description = "The ARN suffix for use with CloudWatch Metrics."
value = aws_lb.main.arn_suffix
}
output "dns_name" {
description = "The DNS name of the load balancer."
value = aws_lb.main.dns_name
}
output "http_to_https_listener_arn" {
description = "ARN of the HTTP to HTTPS listener"
value = try(aws_lb_listener.main[0].arn, null)
}
output "security_group" {
description = "Security group ID of the Application Load Balancer"
value = try(module.sg[0].security_group_id, null)
}
output "zone_id" {
description = "The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record)"
value = aws_lb.main.zone_id
}