1
0
Fork 0
yatf/output.tf

10 lines
219 B
Terraform
Raw Normal View History

2024-10-23 00:10:19 +03:00
output "lb-ip" {
value = yandex_lb_network_load_balancer.balancer1.listener
}
output "vm-ips" {
value = tomap({
for name, vm in yandex_compute_instance.vm : name => vm.network_interface.0.nat_ip_address
})
}