kubespray/contrib/terraform/vsphere/modules/kubernetes-cluster/output.tf

14 lines
283 B
HCL

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
}
}