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

output "tg_id" {
  description = "The id of target group."
  value       = join("", aws_lb_target_group.main.*.id)
}

output "tg_arn" {
  description = "The id of target group."
  value       = join("", aws_lb_target_group.main.*.arn)
}

output "tg_arn_suffix" {
  description = "Target group ARN suffix."
  value       = join("", aws_lb_target_group.main.*.arn_suffix)
}

output "sd_id" {
  description = "The id of the service discovery service."
  value       = join("", aws_service_discovery_service.main.*.id)
}
