Skip to content

Commit

Permalink
Fix --filter arg in describe-images example
Browse files Browse the repository at this point in the history
Noticed in #731.
  • Loading branch information
jamesls committed Apr 5, 2014
1 parent ebe5ff9 commit dff35d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awscli/examples/ec2/describe-images.rst
Expand Up @@ -46,4 +46,4 @@ This example describes Windows AMIs provided by Amazon that are backed by Amazon

Command::

aws ec2 describe-images --filters "Name=is-public,Values=true,Name=owner-alias,Values=amazon,Name=platform,Values=Windows,Name=root-device-type,Values=ebs"
aws ec2 describe-images --filters "Name=is-public,Values=true" "Name=owner-alias,Values=amazon" "Name=platform,Values=Windows" "Name=root-device-type,Values=ebs"

2 comments on commit dff35d2

@brettkennard
Copy link

@brettkennard brettkennard commented on dff35d2 Mar 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to solve for the same filter on two values.
--filter "Name=tag:Name,Values=$ec2_uppercase1" "Name=tag:Name,Values=$ec2_lowercase1"

@brettkennard
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This worked :
--filter "Name=tag:Name,Values=$ec2_uppercase1,$ec2_lowercase1"

Please sign in to comment.