This message was deleted.
# terraform-provider-rancher2
a
This message was deleted.
a
So far i manged to successfully create few clusters using Terraform on Vsphere using rancher_cluster module by importing cluster_template and use Calico
Copy code
# Rancher cluster
resource "rancher2_cluster" "cluster_co" {
  name         = "boldyn-${random_id.instance_id.hex}"
  description  = "Terraform made k8 cluster using Rancher"
  cluster_template_id = rancher2_cluster_template.template_co.id
  cluster_template_revision_id = rancher2_cluster_template.template_co.default_revision_id

  depends_on = [rancher2_cluster_template.template_co]
}
Ignore this - i started using rancher_cluster_v2 - RKE2 cluster for Cilium CNI