output "alb_id" {
  description = "Id of ALB security group."
  value       = module.sg-alb.sg_id
}

output "ecs_id" {
  description = "Id of ECS security group."
  value       = module.sg-ecs.sg_id
}

output "efs_id" {
  description = "Id of EFS security group."
  value       = module.sg-efs.sg_id
}

output "mysql_rds_id" {
  description = "Id of MySQL RDS security group."
  value       = module.sg-mysql-rds.sg_id
}

output "management_id" {
  description = "Id of management security group"
  value       = aws_security_group.remote_management_access.id
}

output "web_debug_http_id" {
  description = "Id of HTTP web-debug security group"
  value       = aws_security_group.web_debug_access_http.id
}

output "web_debug_https_id" {
  description = "Id of HTTPS web-debug security group"
  value       = aws_security_group.web_debug_access_https.id
}

output "ext_web_sg_id" {
  description = "Id of ext_web_sg security group"
  value       = aws_security_group.ext_web_sg.id
}

output "public_access_sg_id" {
  description = "Id of public_access_sg security group"
  value       = aws_security_group.public_access_sg.id
}

output "whitelisted_cidrs" {
  description = "List of the whitelist CIRDS with description"
  value       = local.whitelisted_cidrs
}

output "whitelisted_ip_sets" {
  description = "List of the whitelist CIRDS for WAF"
  value       = local.whitelisted_ip_sets
}
