homelab/terraform/cloud/output.tf
2023-11-04 21:33:51 +01:00

14 lines
260 B
HCL

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