repositories / bugabinga.net
bugabinga.net
personal infrastructure for bugabinga!
owned by admin
outputs.tf
Rawoutput "server_public_ip_v4" {
description = "Public IPv4 address of the Relay Server"
value = hcloud_server.this.ipv4_address
}
output "server_public_ip_v6" {
description = "Public IPv6 address of the Relay Server"
value = hcloud_server.this.ipv6_address
}
output "wireguard_tunnel_ip" {
description = "Internal WireGuard IPv4 address of the Relay"
value = var.wg_server_ip
}
output "wireguard_tunnel_ipv6" {
description = "Internal WireGuard IPv6 address of the Relay"
value = var.wg_server_ipv6
}
output "ssh_command" {
description = "Command to SSH into the relay server"
value = "ssh -p ${var.ssh_port} root@${hcloud_server.this.ipv4_address}"
}
output "klops_wg_config_path" {
description = "Path to generated WireGuard config for klops"
value = module.klops.klops_wg_config_path
}
output "wireguard_peer_ip" {
description = "WireGuard peer (klops) tunnel IPv4 address"
value = var.wg_peer_ip
}
output "wireguard_peer_ipv6" {
description = "WireGuard peer (klops) tunnel IPv6 address"
value = var.wg_peer_ipv6
}
output "soft_serve_ssh_command" {
description = "Command to connect to Soft Serve over the public Git SSH endpoint"
value = "ssh -p ${var.vcs_ssh_public_port} vcs.${var.base_domain}"
}
output "luci_ssh_command" {
description = "Command to connect to Luci over the public Luci SSH CLI endpoint"
value = "ssh -p ${var.luci_ssh_public_port} root@ci.${var.base_domain}"
}
output "service_urls" {
description = "Public HTTPS URLs for managed web services"
value = {
home = "https://home.${var.base_domain}"
genie = "https://genie.${var.base_domain}"
quest = "https://quest.${var.base_domain}"
vault = "https://vault.${var.base_domain}"
docs = "https://docs.${var.base_domain}"
fin = "https://fin.${var.base_domain}"
tracks = "https://tracks.${var.base_domain}"
media = "https://media.${var.base_domain}"
ci = "https://ci.${var.base_domain}"
me = "https://me.${var.base_domain}"
pkg = "https://pkg.${var.base_domain}"
registry = "https://registry.${var.base_domain}"
vcs = "https://vcs.${var.base_domain}"
site = "https://site.${var.base_domain}"
}
}
output "klops_user_ssh_command" {
description = "Command to SSH into klops (home server) as the service user"
value = "ssh -p ${var.klops_ssh_port} ${var.klops_ssh_user}@${var.klops_ssh_host}"
}
output "klops_root_ssh_command" {
description = "Command to SSH into klops (home server) as root"
value = "ssh -p ${var.klops_ssh_port} root@${var.klops_ssh_host}"
}