//output "alb" {
//  description = <<EOF
//		Export load balanser attributes:
//		id - The ARN of the load balancer (matches arn).
//		arn - The ARN of the load balancer (matches id).
//		dns - The canonical hosted zone ID of the load balancer.
//
//EOF
//
//
//  value = {
//    id = aws_lb.main.id
//    arn = aws_lb.main.arn
//    dns = aws_lb.main.dns_name
//  }
//}

output "alb_arn_suffix" {
  description = "ARN suffix of our load balancer - can be used with CloudWatch."
  value       = aws_lb.main.arn_suffix
}

output "alb_arn" {
  description = "ARN of our load balancer."
  value       = aws_lb.main.arn
}

output "alb_id" {
  description = "The ID and ARN of the load balancer we created."
  value       = aws_lb.main.id
}

output "alb_zone_id" {
  description = "The zone_id of the load balancer to assist with creating DNS records."
  value       = aws_lb.main.zone_id
}

output "alb_dns_name" {
  description = "The dns_name of the load balancer to assist with creating DNS records."
  value       = aws_lb.main.dns_name
}


