mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-11-01 02:38:31 +00:00
Show all contolplane public ips
This commit is contained in:
@@ -4,7 +4,7 @@ output "controlplane_endpoint" {
|
|||||||
value = try(scaleway_lb_ip.lb[0].ip_address, "127.0.0.1")
|
value = try(scaleway_lb_ip.lb[0].ip_address, "127.0.0.1")
|
||||||
}
|
}
|
||||||
|
|
||||||
output "controlplane_firstnode" {
|
output "controlplanes" {
|
||||||
description = "Kubernetes controlplane first node"
|
description = "Kubernetes controlplane first node"
|
||||||
value = try(scaleway_instance_ip.controlplane[0].address, "none")
|
value = try(flatten([for c in scaleway_instance_ip.controlplane : c.address]), "none")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user