added file

This commit is contained in:
Matthias Hinrichs
2025-07-17 00:07:26 +02:00
parent cf7ab67255
commit 2a31449bc1
+1 -1
View File
@@ -157,7 +157,7 @@ resource "rancher2_cluster_v2" "cluster" {
machine_selector_config {
config = yamlencode({
cloud-provider-name = "harvester"
cloud-provider-config = "${var.cluster_name}-${var.cluster_environment}-kubeconfig"
cloud-provider-config = file("${path.module}/${var.cluster_name}-${var.cluster_environment}-kubeconfig")
})
}