jq -j is not a valid option. I think the author meant jq -r
parent
5d48fa8132
commit
8ec636271d
|
@ -237,7 +237,7 @@ The following command will:
|
|||
for host in ${KUBERNETES_HOSTS[*]}; do
|
||||
PUBLIC_IP_ADDRESS=$(aws ec2 describe-instances \
|
||||
--filters "Name=tag:Name,Values=${host}" | \
|
||||
jq -j '.Reservations[].Instances[].PublicIpAddress')
|
||||
jq -r '.Reservations[].Instances[].PublicIpAddress')
|
||||
scp ca.pem kubernetes-key.pem kubernetes.pem \
|
||||
ubuntu@${PUBLIC_IP_ADDRESS}:~/
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue