Skip to content

Commit

Permalink
set ssh_public_key to "" if unspecified
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstonmatt committed May 2, 2024
1 parent 24bd42e commit 283a5cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/setTF_VARs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ export default function setTF_VARs() {
// only required for microk8s
if (ssh_public_key) {
Deno.env.set("TF_VAR_ssh_public_key", ssh_public_key);
} else {
Deno.env.set("TF_VAR_ssh_public_key", "");
}

Deno.env.set("TF_VAR_git_repo", git_repo);
Expand Down

0 comments on commit 283a5cf

Please sign in to comment.