output "server_ipv4" {
  description = "Public IPv4 address of the cc-ci Hetzner server"
  value       = hcloud_server.cc_ci.ipv4_address
}

output "server_id" {
  description = "Hetzner internal server ID"
  value       = hcloud_server.cc_ci.id
}

output "ssh_connect" {
  description = "SSH command to connect as root"
  value       = "ssh root@${hcloud_server.cc_ci.ipv4_address}"
}

output "nixos_infect_log" {
  description = "Path on the server where nixos-infect logs are written"
  value       = "ssh root@${hcloud_server.cc_ci.ipv4_address} 'cat /var/log/nixos-infect.log'"
}
