devops-israel / aws-inventory

AWS Inventory in a single HTML file using JS AWS-SDK & Bootstrap
MIT License
388 stars 121 forks source link

Tags not working #20

Open anishkalra08 opened 4 years ago

anishkalra08 commented 4 years ago

Hi,

I am not able to fetch the names for ec2, looks like tag syntax is not working. Please help !

anishkalra08 commented 4 years ago

I have tried editing the format and it worked. {"Tag:Name":'Tags[?Key==Name].Value'}]

Archie-Cloudbuddies commented 4 years ago

Hi,

We noticed a typo in your answer, here is what needs to be replaced.

For the tags: Old Value: {"Tag:Name": 'Tags[?Key=="Name"].Value[]'} New Value: {"Name":'Tags[?Key==Name].Value'}

For the Tagset (ec2 network interface section only) Old Value: {"Tag:Name": 'TagSet[?Key=="Name"].Value[]'} New Value: {"Name":'TagSet[?Key==Name].Value'}

Thanks for this tool, really helpful.

edit: ok i understand the apostrophe are not displayed, Key==Name ...Name is inside apostrophe.