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 "es_id" {
  description = "Id of ElasticSearch security group."
  value       = module.sg-es.sg_id
}

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

output "web_debug_id" {
  description = "Id of HTTP web debug security group"
  value       = aws_security_group.web_http_debug_access.id
}

output "web_https_debug_id" {
  description = "Id of HTTPS web debug security group"
  value       = aws_security_group.web_https_debug_access.id
}

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

output "es_debug_id" {
  description = "Id of es debug security group"
  value       = aws_security_group.es_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 "vpn_http_id" {
  description = "Id of vpn http security group"
  value       = aws_security_group.vpn_http_access_sg.id
}

output "lambda_id" {
  description = "Id of Lambda security group."
  value       = module.sg-lambda.sg_id
}

output "mwaa_id" {
  description = "Is of security group for MWAA environment."
  value = aws_security_group.mwaa_sg.id
}
