output "network_id" {
  description = "Identifier of the primary network."
  value       = examplecloud_network.main.id
}

output "subnet_cidrs" {
  description = "Subnet CIDR blocks keyed by subnet name."
  value       = local.subnet_cidrs
}

output "instance_names" {
  description = "Names of every application instance."
  value       = examplecloud_instance.app[*].name
}

output "cache_endpoints" {
  description = "Cache endpoints for each region, from the for_each module."
  value       = { for region, mod in module.regional_cache : region => mod.endpoint }
}

output "admin_note" {
  description = "Echoes the sensitive input to exercise sensitive-output propagation."
  value       = var.admin_note
  sensitive   = true
}
