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
# Outputs ======================================================================

output "nlb_arn" {
  description = "ARN of the domain controller NLB."
  value       = module.nlb_domain_controllers.arn
}

output "nlb_dns_name" {
  description = "DNS name of the domain controller NLB — use this for LDAPS client connections or a Route53 alias record."
  value       = module.nlb_domain_controllers.dns_name
}

output "nlb_zone_id" {
  description = "Hosted zone ID of the NLB, for Route53 alias records."
  value       = module.nlb_domain_controllers.zone_id
}

output "target_group_arns" {
  description = "Map of target group logical key to ARN. Grows automatically as target groups are added."
  value       = module.nlb_domain_controllers.target_group_arns
}

output "target_group_health_checks" {
  description = "Map of target group logical key to its resolved health check config — check here first if targets show unhealthy."
  value       = module.nlb_domain_controllers.target_group_health_checks
}

output "listener_arns" {
  description = "Map of listener logical key to ARN. Grows automatically as listeners are added."
  value       = module.nlb_domain_controllers.listener_arns
}

output "attached_targets" {
  description = "Map of attachment key (target_group_key-target_key) to the target_id that was attached."
  value       = module.nlb_domain_controllers.target_attachment_ids
}