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 "rds_id" {
  description = "Id of RDS security group."
  value       = module.sg-rds.sg_id
}

output "redis_id" {
  description = "Id of Redis security group."
  value       = module.sg-redis.sg_id
}

output "web_debug_id_80" {
  description = "Id of web-debug security group"
  value       = aws_security_group.web_debug_access_80.id
}

output "web_debug_id_443" {
  description = "Id of web-debug security group"
  value       = aws_security_group.web_debug_access_443.id
}

output "db_debug_id" {
  description = "Id of db-debug security group"
  value       = aws_security_group.db_debug_access.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
}
