Some checks failed
continuous-integration/drone/push Build is failing
The cc-ci server already runs on Hetzner (migration done; nix/hosts/cc-ci-hetzner landed directly on main 2026-05-31). PR#2's host config was superseded by newer main commits, but its terraform/ provisioning scaffolding (cpx32 + nixos-infect) was never preserved. Add it here as the infrastructure-of-record so the box is reproducible. .gitignore keeps tfstate + secret tfvars out; HCLOUD_TOKEN is an env var at apply time (no secrets committed). PR#2 closed as superseded. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 lines
585 B
HCL
20 lines
585 B
HCL
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'"
|
|
}
|