move output into separate file
This commit is contained in:
parent
ddd98a76ec
commit
e4bd07fe4a
2 changed files with 9 additions and 10 deletions
9
output.tf
Normal file
9
output.tf
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue