edouardb / kubernetes-terraform-scaleway

Terraform formula for creating a Kubernetes cluster running on Scaleway
29 stars 12 forks source link

Some weird things ... #4

Open trash-anger opened 6 years ago

trash-anger commented 6 years ago

Hi,

Thank you for this very great terraform plan ! I tried to launch this into Paris zone (ams1's VC1S seems to be low stock ...) but I goes wrong ...


trash-anger commented 6 years ago

For the second point, is that possible to do something like this (?) in output.tf :

output "master-ip" {
   if ${contains(scaleway_server.kubernetes_master.public_ip, ",")} {
      value = "${join(",", scaleway_server.kubernetes_master.public_ip)}"
   } else {
      value = scaleway_server.kubernetes_master.public_ip
   }
}

I start using terraform ...