equinix-labs / terraform-equinix-metal-k3s

Manage K3s (k3s.io) region clusters on Equinix Metal
https://registry.terraform.io/modules/equinix/k3s/metal/latest?tab=readme
Apache License 2.0
46 stars 15 forks source link

make region creation dynamic & remove external dependency #6

Closed jmarhee closed 5 years ago

jmarhee commented 5 years ago

move facility var to list; spin up module instance for each in list.

in 0.12, for syntax is supported, but external data is not, if this data could be handled by remote-exec then we can remove external provider dependency and then foreach the facilities list

jmarhee commented 5 years ago

7 addresses this (removes external dependency for cluster name, still need it for node-token)