-
Notifications
You must be signed in to change notification settings - Fork 23
/
outputs.tf
64 lines (52 loc) · 2.16 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
output "traefik_external_cname" {
description = "URL that applications should set a CNAME record to for Traefik reverse proxy"
value = var.traefik_external_base_domain
}
output "traefik_external_lb_dns" {
description = "URL that applications should set a CNAME or ALIAS record to the external LB directly"
value = aws_lb.external.dns_name
}
output "traefik_external_zone" {
description = "The canonical hosted zone ID of the external load balancer (to be used in a Route 53 Alias record)."
value = aws_lb.external.zone_id
}
output "traefik_internal_cname" {
description = "URL that applications should set a CNAME record to for Traefik reverse proxy"
value = var.traefik_internal_base_domain
}
output "traefik_internal_lb_dns" {
description = "URL that applications should set a CNAME or ALIAS record to the internal LB directly"
value = aws_lb.internal.dns_name
}
output "traefik_internal_zone" {
description = "The canonical hosted zone ID of the internal load balancer (to be used in a Route 53 Alias record)."
value = aws_lb.internal.zone_id
}
output "traefik_jobspec" {
description = "Nomad Jobspec for the deployed Traefik reverse proxy"
value = data.template_file.traefik_jobspec.rendered
}
output "traefik_lb_external_https_listener_arn" {
description = "ARN of the HTTPS listener for the external load balancer"
value = aws_lb_listener.https_external.arn
}
output "traefik_lb_internal_https_listener_arn" {
description = "ARN of the HTTPS listener for the internal load balancer"
value = aws_lb_listener.internal_https.arn
}
output "traefik_lb_internal_security_group_id" {
description = "Security group ID for Traefik internal LB"
value = aws_security_group.internal_lb.id
}
output "traefik_lb_external_security_group_id" {
description = "Security group ID for Traefik external LB"
value = aws_security_group.external_lb.id
}
output "traefik_lb_internal_arn" {
description = "ARN of the internal load balancer"
value = aws_lb.internal.arn
}
output "traefik_lb_external_arn" {
description = "ARN of the external load balancer"
value = aws_lb.external.arn
}