I have some EC2 instances. I want to use the ec2 describe-instances
command to get a list of instances based on a specific value of a tag.
The table shows my use-case.
Instance | Value (key:Purpose) | Outcome
----------+-------------------------+------------
InstanceA | Going | Filter
InstanceB | Shopping,Going | Filter
InstanceC | Going,Shoping | Filter
InstanceD | Shopping,Going,Chatting | Filter
InstanceE | GoingGreat | DONT Filter
InstanceF | NotGoing | DONT Filter
So I want to somehow use wildcard in the ec2-describe-instances command so that I get the expected outcome.