How can I exclude tags in instance filters ?

,

Dear All,

I have created a dynamic AWS ec2 inventory in AWX and can import ec2 hosts successfully.

I can use instance filters to import only specific tags but I’m trying to use it in order to exclude specific tags.

For example I would like to import all ec2 instances except the ones that have a tag Type=NotManaged.

I have tried using ‘!’ like bellow but it doesn’t seem to be working :

tag:Type=!NotManaged

Any help ?

Thanks in advance.