output "watchmen_url" {
  description = "Public URL for Watchmen ALB"
  value       = var.certificate_arn != "" ? "https://${aws_lb.watchmen.dns_name}" : "http://${aws_lb.watchmen.dns_name}"
}

output "rds_endpoint" {
  description = "Private RDS PostgreSQL endpoint"
  value       = aws_db_instance.watchmen.endpoint
}

output "ecs_cluster_name" {
  description = "ECS cluster hosting Watchmen"
  value       = aws_ecs_cluster.watchmen.name
}

output "scanner_task_role_arn" {
  description = "IAM Task Role ARN with ReadOnlyAccess"
  value       = aws_iam_role.ecs_task.arn
}
