Hi, could any kind person show me an example of an AWS inventory filter that filters by the instance private-ip-address?
I have been trying variations of private-ip-address = “x.x.x.x”, ec2.private-ip-address = etc etc all afternoon and I can’t save my source as it says invalid syntax… I am putting {{ }} around these.
Thanks
Bill
well… I figured out a sort of answer, apparently awx inventory plugins are not equal… you can use expressions in {{}} in vmware, but not in AWS… so in aws, to filter what I wanted I just put
private-ip-address=10.5.162.10
and it pulled just one host… the private-ip-address is directly from aws ec2 describe-instances output, so I can filter on anything in that also, use wildcards, not sure what else. I have much to learn.