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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -