Add variable(s) for Rancher endpoint and keys/token. When present, terraform will create a "Harvester Cluster" in Rancher, including configuring Harvester with the Rancher cluster information. This will likely require both the Rancher2 and Harvester TF providers.
Add variable(s) for Rancher endpoint and keys/token. When present, terraform will create a "Harvester Cluster" in Rancher, including configuring Harvester with the Rancher cluster information. This will likely require both the Rancher2 and Harvester TF providers.
Use Rancher2 TF provider to create the Harvester cluster in Rancher (see https://registry.terraform.io/providers/rancher/rancher2/latest/docs)
Use the Harvester TF provider to register Harvester in Rancher (currently not a feature, need to open a GH issue to add this) see also https://docs.harvesterhci.io/v1.0/rancher/virtualization-management (need to set cluster-registration-ui).