Fix load balancer reference in vSphere Terraform example
@@ -154,7 +154,7 @@ locals {
resource "null_resource" "lb_config" {
triggers = {
cluster_instance_ids = join(",", vsphere_virtual_machine.control_plane.*.id)
- config = rendered_lb_config
+ config = local.rendered_lb_config
}
connection {
@@ -163,7 +163,7 @@ resource "null_resource" "lb_config" {
}
provisioner "file" {
- content = rendered_lb_config
+ content = local.rendered_lb_config
destination = "/tmp/gobetween.toml"
}
