output "sqs_queue_url" {
  description = "URL of the manifest files SQS queue"
  value       = module.manifest_files_queue.queue_url
}

output "sqs_queue_arn" {
  description = "ARN of the manifest files SQS queue"
  value       = module.manifest_files_queue.queue_arn
}

output "dlq_arn" {
  description = "ARN of the manifest files dead letter queue"
  value       = module.manifest_files_queue.deadletter_queue_arn
}

# -----------------------------------------------------------------------------
# Manifest Parser Lambda
# -----------------------------------------------------------------------------

output "manifest_parser_function_name" {
  description = "Name of the Manifest Parser Lambda function"
  value       = module.lambda_manifest_parser.lambda_name
}

output "manifest_parser_function_arn" {
  description = "ARN of the Manifest Parser Lambda function"
  value       = module.lambda_manifest_parser.lambda_arn
}

output "ecr_repository_url" {
  description = "URL of the Manifest Parser ECR repository"
  value       = aws_ecr_repository.manifest_parser.repository_url
}

# -----------------------------------------------------------------------------
# Collector Worker Lambda
# -----------------------------------------------------------------------------

output "collector_worker_function_name" {
  description = "Name of the Collector Worker Lambda function"
  value       = module.lambda_collector_worker.lambda_name
}

output "collector_worker_function_arn" {
  description = "ARN of the Collector Worker Lambda function"
  value       = module.lambda_collector_worker.lambda_arn
}

output "collector_worker_ecr_repository_url" {
  description = "URL of the Collector Worker ECR repository"
  value       = aws_ecr_repository.collector_worker.repository_url
}

# -----------------------------------------------------------------------------
# Snowflake Sink Connector (Fargate) — Phase 4b
# -----------------------------------------------------------------------------

output "sink_connector_service_name" {
  description = "Fargate ECS service name for the Snowflake sink connector"
  value       = module.snowflake_sink_fargate.fargate_web_service_name
}

output "sink_connector_security_group_id" {
  description = "Security group ID for the Snowflake sink Fargate service"
  value       = module.snowflake_sink_fargate.fargate_security_group_id
}
