filtering-using-boto3

Category: DevOps using AWSfiltering-using-boto3
Pratik Kumar asked 2 months ago
I am trying to filetr instances using multiple tags for example as below:[{\’Name\’: \’tag:echelon\’, \’Values\’: [\’c\’,\’i\’,\’x\’,\’z\’],\’Name\’: \’tag:stability\’, \’Values\’: [\’dev\’,\’qa\’],\’Name\’: \’instance-state-name\’, \’Values\’: [\’running\’]}]
What I want is INSTANCES HAVING (ECHLON VALUE AS C OR I OR X OR Z) AND (STABILITY VALUE AS DEV OR QA) AND (STATUS VALUE IS RUNNING)  


What its giving is Instaces with any of given values.