The following command works just fine in bash:
aws ec2 describe-instances \
--filters "Name=tag:Name,Values=XXXXXXX" "Name=instance-state-code,Values=16" \
--query 'Reservations[0].Instances[0].PublicDnsName'
However, if I try to run it in zsh, it gives me:
(eval):1: no matches found: Reservations[0].Instances[0].PublicDnsName
Is there any way of working this around?
I'm running:
aws-cli/1.11.5 Python/2.7.6 Linux/4.4.0-45-generic botocore/1.4.62