Skip to content

Commit

Permalink
Typo in script
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jul 29, 2024
1 parent 5aa9c5a commit 0dd08eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/codesign_box/templates/create-hsms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ echo "Extracting IP addresses of created HSM tokens..."
IP_ADDRESSES=$(aws cloudhsmv2 describe-clusters --filters clusterIds=$CLUSTER_ID --query "Clusters[0].Hsms[*].EniIp" --output text)
echo "IP Addresses of created HSM tokens: $IP_ADDRESSES"

IP_ADDRESS_1=$(echo IP_ADDRESSES | cut -d ' ' -f1)
IP_ADDRESS_2=$(echo IP_ADDRESSES | cut -d ' ' -f2)
IP_ADDRESS_1=$(echo $IP_ADDRESSES | cut -d ' ' -f1)
IP_ADDRESS_2=$(echo $IP_ADDRESSES | cut -d ' ' -f2)

echo "[+] writing cloudhsm-cli.cfg"
cat <<EOF > /tmp/cloudhsm-cli.cfg
Expand Down

0 comments on commit 0dd08eb

Please sign in to comment.