35 lines
1,020 B
HCL
35 lines
1,020 B
HCL
output "server_ipv4" {
|
|
value = hcloud_server.trading_system.ipv4_address
|
|
}
|
|
|
|
output "server_ipv6" {
|
|
value = hcloud_server.trading_system.ipv6_address
|
|
}
|
|
|
|
output "server_name" {
|
|
value = hcloud_server.trading_system.name
|
|
}
|
|
|
|
output "server_private_ipv4" {
|
|
value = var.private_ipv4_address
|
|
}
|
|
|
|
output "server_fqdn" {
|
|
value = var.public_domain
|
|
}
|
|
|
|
output "k3s_api_url" {
|
|
value = var.tailscale_control_plane_hostname != "" ? "https://${var.tailscale_control_plane_hostname}:6443" : "https://${hcloud_server.trading_system.ipv4_address}:6443"
|
|
}
|
|
|
|
output "kubeconfig_strategy" {
|
|
value = var.tailscale_enabled ? "Use Tailscale for private Kubernetes API access; avoid public SSH/Kubernetes exposure in the canonical flow." : "Use the public Kubernetes API endpoint with an operator-supplied bootstrap credential; avoid SSH/scp kubeconfig retrieval in the canonical flow."
|
|
}
|
|
|
|
output "bootstrap_repo_checkout" {
|
|
value = "/opt/unrip/repo"
|
|
}
|
|
|
|
output "bootstrap_marker_file" {
|
|
value = "/opt/unrip/bootstrap/README.txt"
|
|
}
|