From bc963d2561b91e640482767bd90a19c90c4a4438 Mon Sep 17 00:00:00 2001 From: Paul Bastide Date: Wed, 8 Nov 2023 16:28:36 -0500 Subject: [PATCH] OCTOPUS-534: zone3 worker improperly used base64 instead of the templatefile Signed-off-by: Paul Bastide --- modules/6_worker/worker.tf | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/6_worker/worker.tf b/modules/6_worker/worker.tf index 73c39e4..55493b6 100644 --- a/modules/6_worker/worker.tf +++ b/modules/6_worker/worker.tf @@ -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