Skip to content

Commit

Permalink
OPENSHIFTP-172: create ibm_is_ssh_key ahead of time
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
  • Loading branch information
prb112 committed Jul 15, 2024
1 parent 83393ab commit 4d0e7fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/create-var-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ fi
cp "${PUBLIC_KEY_FILE}" data/id_rsa.pub
cp "${PRIVATE_KEY_FILE}" data/id_rsa
# vpc_skip_ssh_key_create is set, and we need to skip creating it.
${IBMCLOUD} is key-create cicd-key @data/id_rsa.pub || true
# creates the var file
cat << EOFXEOF > data/var.tfvars
################################################################
Expand Down

0 comments on commit 4d0e7fb

Please sign in to comment.