Merge branch 'main' into test-inline-yaml
This commit is contained in:
commit
5307018556
1 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,13 @@
|
||||||
output "lb-ip" {
|
output "vms" {
|
||||||
value = yandex_lb_network_load_balancer.balancer1.listener
|
value = {
|
||||||
|
for name, vm in yandex_compute_instance.vm : vm.name => vm.network_interface.0.nat_ip_address
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
output "lbs" {
|
||||||
|
value = {
|
||||||
|
for listener in yandex_lb_network_load_balancer.balancer1.listener : listener.name => [
|
||||||
|
for spec in listener.external_address_spec : spec.address
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue