homelab/infra/output.tf
2022-06-19 16:04:32 +02:00

14 lines
258 B
HCL

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