k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
280 B
16 lines
280 B
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"
|
|
}
|
|
}
|
|
|