homelab/terraform/cloud/output.tf
2024-03-17 11:07:58 +01:00

14 lines
256 B
HCL

output "homelab_servers_status" {
value = {
for server in hcloud_server.merlin :
server.name => server.status
}
}
output "homelab_servers_ips" {
value = {
for server in hcloud_server.merlin :
server.name => server.ipv4_address
}
}