Skip to content

Commit

Permalink
OCTOPUS-534: zone3 worker improperly used base64 instead of the templ…
Browse files Browse the repository at this point in the history
…atefile

Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Nov 8, 2023
1 parent 6a8a39c commit bc963d2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions modules/6_worker/worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,11 @@ resource "ibm_is_instance" "workers_3" {
security_groups = [var.target_worker_sg_id]
}

user_data = base64encode(
templatefile(
"${path.cwd}/modules/6_worker/templates/worker.ign",
{
ignition_ip : var.ignition_ip,
}))
user_data = templatefile(
"${path.cwd}/modules/6_worker/templates/worker.ign",
{
ignition_ip : var.ignition_ip,
})
}

# Waiting for Intel instances to start
Expand Down

0 comments on commit bc963d2

Please sign in to comment.