# NLB Module - Outputs # RFC 0039: ADR-Compliant Foundation Infrastructure output "arn" { description = "NLB ARN" value = aws_lb.main.arn } output "dns_name" { description = "NLB DNS name" value = aws_lb.main.dns_name } output "zone_id" { description = "NLB Route53 zone ID" value = aws_lb.main.zone_id } output "target_group_https_arn" { description = "HTTPS target group ARN" value = aws_lb_target_group.https.arn } output "target_group_http_arn" { description = "HTTP target group ARN" value = aws_lb_target_group.http.arn } output "target_group_dns_udp_arn" { description = "DNS UDP target group ARN" value = aws_lb_target_group.dns_udp.arn } output "target_group_dns_tcp_arn" { description = "DNS TCP target group ARN" value = aws_lb_target_group.dns_tcp.arn } output "target_group_smtp_arn" { description = "SMTP target group ARN" value = aws_lb_target_group.smtp.arn } output "target_group_submission_arn" { description = "Email submission target group ARN" value = aws_lb_target_group.submission.arn } output "target_group_imaps_arn" { description = "IMAPS target group ARN" value = aws_lb_target_group.imaps.arn } output "listener_https_arn" { description = "HTTPS listener ARN" value = aws_lb_listener.https.arn } output "listener_http_arn" { description = "HTTP listener ARN" value = aws_lb_listener.http.arn } output "nlb_ip_addresses" { description = "List of NLB IP addresses (from subnet mappings when using EIPs)" value = [for eni in aws_lb.main.subnet_mapping : eni.private_ipv4_address if eni.private_ipv4_address != null] }