Files
watermaps/infra/opentofu/outputs.tf
T

34 lines
966 B
Terraform

output "server_ipv4" {
description = "Persistente öffentliche IPv4-Adresse des Watermaps-Servers."
value = hcloud_primary_ip.main.ip_address
}
output "server_id" {
description = "Hetzner-ID des Servers."
value = hcloud_server.main.id
}
output "ssh_command" {
description = "SSH-Befehl für den vorbereiteten Deploy-Benutzer."
value = "ssh ${var.deploy_user}@${hcloud_primary_ip.main.ip_address}"
}
output "dns_a_record" {
description = "A-Record, der nach dem Apply manuell beim DNS-Provider angelegt werden soll."
value = {
type = "A"
name = var.dns_name
value = hcloud_primary_ip.main.ip_address
}
}
output "routing_data_mount_path" {
description = "Persistenter Pfad für heruntergeladene PBFs und erzeugte Fahrrouten."
value = "/srv/watermaps-data"
}
output "routing_volume_id" {
description = "Hetzner-ID des persistenten Routingdaten-Volumes."
value = hcloud_volume.routing_data.id
}