From 36b2e6b08ed88f80ba9e1756c183ed4b771587cd Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 31 Jul 2023 17:01:48 +0200 Subject: [PATCH] Fix public ip source in rke description Signed-off-by: Jerome Jutteau --- rke.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rke.tf b/rke.tf index b665659..682d10e 100644 --- a/rke.tf +++ b/rke.tf @@ -38,7 +38,7 @@ resource "local_file" "rke_cluster_yml" { labels: {} taints: [] EOT - , var.public_cloud ? outscale_vm.control-planes[i].public_ip : outscale_vm.control-planes[i].private_ip, outscale_vm.control-planes[i].private_dns_name, i)]), + , var.public_cloud ? outscale_public_ip.control-planes[i].public_ip : outscale_vm.control-planes[i].private_ip, outscale_vm.control-planes[i].private_dns_name, i)]), join("\n", [for i in range(var.worker_count) : format( <