Skip to content

Unable to parse --filters parameters #7127

Answered by aBurmeseDev
Danny-m08 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Danny-m08 , thanks for reaching out.
I couldn't reproduce the error, though I'm fairly certain that the root causes for these errors seem to be the misuse of single/double quotes or spacing in some cases. I'd suggest to double check any extra spaces in your command and check out these posts for references here and here.

Here's the command I ran and it outputs without errors:

aws ec2 describe-instances --query "Reservations[*].Instances[*].{Name:Tags[?Key=='Name']|[0].Value,Status:State.Name}" --filters "Name=tag:Name,Values='*'"  --output table

Please let me know if any of this resolves the issue!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tim-finnigan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants