Files
watermaps/infra/opentofu/outputs.tf
T
BuTzZ 593dbd5f85
Test and publish container images / test (push) Successful in 2m26s
Test and publish container images / publish (push) Failing after 3s
optimized events
2026-07-28 14:36:47 +02:00

34 lines
977 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 PBFs, Fahrrouten und PostGIS-Ereignisdaten."
value = "/srv/watermaps-data"
}
output "routing_volume_id" {
description = "Hetzner-ID des persistenten Routing- und Ereignisdaten-Volumes."
value = hcloud_volume.routing_data.id
}