20 lines
432 B
HCL
20 lines
432 B
HCL
output "lb_ip" {
|
|
description = "Load balancer IP address"
|
|
value = hcloud_load_balancer.three_web_load_balancer.ipv6
|
|
}
|
|
|
|
output "web_ips" {
|
|
description = "Test VM IP"
|
|
value = {
|
|
for server in hcloud_server.web-server :
|
|
server.name => server.ipv6_address
|
|
}
|
|
}
|
|
|
|
output "web_ipv4" {
|
|
description = "Test VM legacy IP"
|
|
value = {
|
|
for server in hcloud_server.web-server :
|
|
server.name => server.ipv4_address
|
|
}
|
|
}
|