Skip to content

AWS: Load tags as an EC2Instance label #621

Answered by achantavy
pavelb97 asked this question in Q&A
Discussion options

You must be logged in to vote

I'll answer this question (even though it's like 2 years after, oops sorry):

You can definitely query for tags attached to an EC2 instance like this:

match (i:EC2Instance)--(t:AWSTag) return i.instanceid, t.key, t.value limit 30;

See the schema docs for more details on the nodes and rels that we define. The sync job that populates this is called resourcegroupstaggingapi.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by achantavy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants