Files

18 lines
509 B
Terraform

# Values other tooling and the operator need after apply.
output "server_ip" {
description = "Public IPv4 of the control plane."
value = hcloud_server.control_plane.ipv4_address
}
output "ssh_command" {
description = "Ready-to-paste SSH command for the control plane."
value = "ssh -i ${var.ssh_private_key_path} ${var.ssh_user}@${hcloud_server.control_plane.ipv4_address}"
}
output "proxy_url" {
description = "Public URL served by Caddy."
value = "https://${var.domain}"
}