6eeb4883af
* Fixes various issues in vSphere Terraform code Provided to address various shortcomings and to fix the following issue in upstream Kubespray: https://github.com/kubernetes-sigs/kubespray/issues/8176 * Resolves Terraform formatting issues * Sets default prefix to human-readable name * Documents new default prefix in README
16 lines
280 B
HCL
16 lines
280 B
HCL
output "master_ip" {
|
|
value = {
|
|
for name, machine in var.machines :
|
|
name => machine.ip
|
|
if machine.node_type == "master"
|
|
}
|
|
}
|
|
|
|
output "worker_ip" {
|
|
value = {
|
|
for name, machine in var.machines :
|
|
name => machine.ip
|
|
if machine.node_type == "worker"
|
|
}
|
|
}
|
|
|