Provide the cfg to the create-cluster method

This commit is contained in:
2025-09-27 21:02:43 -05:00
parent 6a1942c684
commit 91c7ea8797

View File

@@ -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")