output "tg" {
  description = "Target group which ECS service uses for load balancing"
  value       = aws_lb_target_group.main
}

output "ecs_service" {
  description = "ECS Service object"
  value       = aws_ecs_service.main
}

output "route53_record" {
  description = "Route53 record object"
  value       = aws_route53_record.www
}

output "alb_dns_name" {
  description = "DNS hostanme for ALB Listner aka URL"
  value       = var.url
}

output "https_rule" {
  description = "Arn of main rule on https listener of load balancer"
  value       = module.alb_rules.https_rule_arn
}

output "http_rule" {
  description = "Arn of rule that redirects http to https"
  value       = module.alb_rules.http_rule_arn
}
