Show all contolplane public ips

This commit is contained in:
Serge Logvinov
2022-06-25 16:33:02 +03:00
parent 5db4946bce
commit ca09896674

View File

@@ -4,7 +4,7 @@ output "controlplane_endpoint" {
value = try(scaleway_lb_ip.lb[0].ip_address, "127.0.0.1")
}
output "controlplane_firstnode" {
output "controlplanes" {
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")
}