Skip to content

Commit

Permalink
Fix public ip source in rke description
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Jutteau <[email protected]>
  • Loading branch information
jerome-jutteau committed Aug 1, 2023
1 parent 05fb94d commit 36b2e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rke.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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(
<<EOT
- address: %s
Expand All @@ -55,7 +55,7 @@ EOT
labels: {}
taints: []
EOT
, var.public_cloud ? outscale_vm.workers[i].public_ip : outscale_vm.workers[i].private_ip, outscale_vm.workers[i].private_dns_name, i)]),
, var.public_cloud ? outscale_public_ip.workers[i].public_ip : outscale_vm.workers[i].private_ip, outscale_vm.workers[i].private_dns_name, i)]),

<<EOT
services:
Expand Down

0 comments on commit 36b2e6b

Please sign in to comment.