14 lines
283 B
Terraform
14 lines
283 B
Terraform
|
output "master_ip" {
|
||
|
value = {
|
||
|
for instance in vsphere_virtual_machine.master :
|
||
|
instance.name => instance.default_ip_address
|
||
|
}
|
||
|
}
|
||
|
|
||
|
output "worker_ip" {
|
||
|
value = {
|
||
|
for instance in vsphere_virtual_machine.worker :
|
||
|
instance.name => instance.default_ip_address
|
||
|
}
|
||
|
}
|