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 "lambda_id" {
  description = "Id of Lambda security group."
  value       = module.sg-lambda.sg_id
}

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

output "rabbitmq_id" {
  description = "Id of RabbitMQ security group."
  value       = module.sg-rabbitmq.sg_id
}

output "memcached_id" {
  description = "Id of Memcached security group."
  value       = module.sg-memcached.sg_id
}

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

output "http_debug_id" {
  description = "Id of HTTP debug security group"
  value       = aws_security_group.http_debug_access.id
}

output "db_debug_id" {
  description = "Id of PostgreSQL debug security group"
  value       = aws_security_group.db_debug_access.id
}

output "https_debug_id" {
  description = "Id of HTTPS debug security group"
  value       = aws_security_group.https_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
}

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