output "vpn_id" {
  description = "Id of windows ws security group."
  value       = module.sg-vpn.sg_id
}

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

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

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

output "pulbic_web_id" {
  description = "Id of public webaccess security group"
  value       = aws_security_group.public_alb.id
}

output "mysql_id" {
  description = "Id of aurora security group."
  value       = module.sg-mysql.sg_id
}
output "influxdb_id" {
  description = "Id of influxdb security group."
  value       = module.sg-influxdb.sg_id
}
output "grafana_id" {
  description = "Id of grafana security group."
  value       = module.sg-grafana.sg_id
}
output "squid_id" {
  description = "Id of squid security group."
  value       = module.sg-squid.sg_id
}

output "nexus_id" {
  description = "Id of squid security group."
  value       = module.sg-nexus.sg_id
}

output "remote_ssh_id" {
  description = "Id of SSH security group."
  value       = aws_security_group.remote_management_ssh_access.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
}

output "db_debug_id" {
  description = ""
  value       = aws_security_group.db_debug_access.id
}

output "vpn_ssh_id" {
  description = ""
  value       = aws_security_group.vpn_ssh.id
}

output "vpn_access_id" {
  description = "Id of vpn access security group"
  value       = aws_security_group.vpn_access.id
}

output "ext_web_id" {
  description = "Id of external web access security group."
  value       = aws_security_group.ext_web_sg.id
}

output "ext_web_http_id" {
  description = "Id of external web access security group."
  value       = aws_security_group.ext_web_http_sg.id
}

output "internal_web_id" {
  description = "Id of internal web access security group."
  value       = aws_security_group.internal_web_sg.id
}

output "internal_web_http_id" {
  description = "Id of internal web access security group."
  value       = aws_security_group.internal_web_http_sg.id
}

output "github_security_groups" {
  description = "Id of SSH security group."
  value       = aws_security_group.github_access
}

output "sentry_from_nat_id" {
  description = "Id of Sentry ALB security group."
  value       = aws_security_group.sentry_access_from_nat.id
}

output "sentry_access_from_public_ip_id" {
  description = "Id of Sentry ALB security group."
  value       = aws_security_group.sentry_access_from_public_ip.id
}
