From 91c7ea8797825d4794fea07bfa928445b8c59c8c Mon Sep 17 00:00:00 2001 From: GigiaJ Date: Sat, 27 Sep 2025 21:02:43 -0500 Subject: [PATCH] Provide the cfg to the create-cluster method --- iac/src/main/infra/init.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iac/src/main/infra/init.cljs b/iac/src/main/infra/init.cljs index bcd9771..6960604 100644 --- a/iac/src/main/infra/init.cljs +++ b/iac/src/main/infra/init.cljs @@ -57,9 +57,8 @@ "fi\n\n" "echo '--- Finished worker install ---'\n")) -(defn create-cluster [] - (let [cfg (pulumi/Config.) - ssh-key (.require cfg "sshKeyName") +(defn create-cluster [cfg] + (let [ssh-key (.require cfg "sshKeyName") personal-key (.require cfg "sshPersonalKeyName") priv-key (.requireSecret cfg "privateKeySsh")