title: OR logic filtering in AWSCLI
body: <p>Im trying to get a list of instances from AWS (using AWSCLI) with tag:env=stage OR tag:backup=true.</p>
  <ul>
  <li>i have 1 instance with tag backup=true</li>
  <li>i have 5 instance with tag env=stage</li>
  <li>i expect to get a list of 6 items</li>
  </ul>
  <p>examples :</p>
  <pre><code># returns no instances since its doing AND logic which is fine
  aws ec2 describe-instances \
      --filters &quot;Name=tag:env,Values=stage&quot; &quot;Name=tag:backup,Values=true&quot; \
      --query 'Reservations[].Instances[].[Tags[?Key==`Name`].Value,InstanceId][][]' | tr -d '[]&quot;'
  
  # returns only the last condition ( 1 instance )
  aws ec2 describe-instances \
      --filters &quot;Name=tag:env,Values=stage&quot; \
      --filters &quot;Name=tag:backup,Values=true&quot; \
      --query 'Reservations[].Instances[].[Tags[?Key==`Name`].Value,InstanceId][][]' | tr -d '[]&quot;'
  
  # returns only the last condition ( 5 instances )
  aws ec2 describe-instances \
      --filters &quot;Name=tag:backup,Values=true&quot; \
      --filters &quot;Name=tag:env,Values=stage&quot; \
      --query 'Reservations[].Instances[].[Tags[?Key==`Name`].Value,InstanceId][][]' | tr -d '[]&quot;'
  </code></pre>