amazon web services - AND(&&) condition in EC2 command line tools --filter option -
i using ec2 command line tools this
ec2-describe-tags --filter "resource-type=instance" --filter "value=value1" --filter "key=key1" --filter "value=value2" --filter "key=key2"
i want know how put filters in and(&&) . want output should contain results satisfies filters.
using newer aws ec2
api, following filters have && relation between them:
aws ec2 describe-tags --filters "name=resource-type,values=instance" "name=value,values=value1" "name=key,values=key1" "name=value,values=value2" "name=key,values=key2"
Comments
Post a Comment