devops/infra/modules/cluster/hcloud/output.tf

4 lines
98 B
HCL

output "ips" {
value = [for node in hcloud_server.node : [for ip in node.network : ip][0].ip]
}