quarkshologridledger/infra/outputs.tf
Pedro Faria da Costa b6bc68de23
Some checks are pending
CI / tongo-core (push) Waiting to run
CI / web-terminal (push) Waiting to run
Deploy / build-and-push (push) Waiting to run
Deploy / deploy (push) Blocked by required conditions
Infrastructure / plan (push) Waiting to run
Infrastructure / apply (push) Blocked by required conditions
add infra
2026-07-05 23:44:51 +01:00

23 lines
1.1 KiB
HCL

# ──────────────────────────────────────────────────────────────
# Quark's Holo-Grid Ledger — Outputs
# ──────────────────────────────────────────────────────────────
output "forgejo_ipv4" {
description = "Public IPv4 address of the Forgejo server"
value = length(hcloud_server.forgejo) > 0 ? hcloud_server.forgejo[0].ipv4_address : null
}
output "app_ipv4" {
description = "Public IPv4 address of the App server"
value = length(hcloud_server.app) > 0 ? hcloud_server.app[0].ipv4_address : null
}
output "volume_id" {
description = "Hetzner volume ID for the persistent data volume"
value = length(hcloud_volume.data) > 0 ? hcloud_volume.data[0].id : null
}
output "private_network_id" {
description = "Hetzner private network ID"
value = length(hcloud_network.internal) > 0 ? hcloud_network.internal[0].id : null
}