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

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

output "postgres_id" {
  description = "Id of PostgreSQL security group."
  value       = module.sg-postgres.sg_id
}

output "postgres_debug_id" {
  description = "Id of PostgreSQL debug security group"
  value       = aws_security_group.postgres_debug_access.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 "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 "management_ssh_id" {
  description = "Id of management security group"
  value       = aws_security_group.remote_management_access_ssh.id
}

output "redis_debug_id" {
  description = "Id of redis debug security group"
  value       = aws_security_group.redis_debug_access.id
}

output "auth0_id" {
  description = "Id of auth0 security group"
  value       = aws_security_group.auth0.id
}

output "vpn_http_id" {
  description = "Id of vpn http security group"
  value       = aws_security_group.vpn_http_access_sg.id
}

output "couchbase_id" {
  description = "Id of Couchbase security group"
  value       = module.sg-couchbase.sg_id
}

output "lin_ws_id" {
  description = "Id of Linux HTTP security group"
  value       = module.sg-lin-ws.sg_id
}

output "win_ws_id" {
  description = "Id of Windows HTTP security group"
  value       = module.sg-win-ws.sg_id
}

output "win_batch_id" {
  description = "Id of Windows Batch security group"
  value       = module.sg-win-batch.sg_id
}

output "management_rdp_id" {
  description = "Id of management security group"
  value       = aws_security_group.remote_management_access_rdp.id
}

output "docdb_id" {
  description = "Id of DocDB security group."
  value       = module.sg-docdb.sg_id
}

output "es_id" {
  description = "Id of ElasticSearch security group."
  value       = module.sg-es.sg_id
}

output "es_debug_id" {
  description = "Id of es debug security group"
  value       = aws_security_group.es_debug_access.id
}
