ec2-describe-instances --filter "instance-type=m1.small"
However, this returns the following error:
Filter definitions must have format 'name=value', but found 'instance-type'
After a bit of frustration, I finally realized that you have to pass in the quotes in the argument. This means that you need to escape the quotes in Powershell like so:
ec2-describe-instances --filter "`"instance-type=m1.small`""
Argh, thank you
ReplyDelete