openziti-terraform-modules / terraform-lke-ziti

Terraform plan that creates a Linode Kubernetes Engine cluster and installs Ziti
Apache License 2.0
6 stars 4 forks source link

Multi-cloud Support #6

Open dariuszSki opened 1 year ago

dariuszSki commented 1 year ago

What if we could modularize this terraform plan, so this can be achieved:

  1. module "k8s" {}, where one can choose a could provider, when plan is run, i.e. cloud = Linode, cloud = Azure, and so on. And the plan would install the cluster in that cloud.
  2. module "openziti" {} or module "openziti-controller" {}, module "openziti-router" {}, module "openziti-services" {}
  3. module "demo-app" {}, so if you want to install openziti in a cluster, because you have another use case that you don't need to install the demo app and configure ziti services for it. Then would have that choice.

Any thoughts?

qrkourier commented 1 year ago

I think this will trend toward modules, yes. I expect we'll build the modules based on what we learn in this LKE sandbox. We can then upload them in the TF module registry for others to use.

dariuszSki commented 1 year ago

yes exactly

qrkourier commented 1 year ago

https://github.com/openziti-test-kitchen/terraform-lke-ziti/pull/8