What is the best way to use AWS Tags to populate CMDB data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2018 02:58 PM
We currently have a need to use our AWS tags to populate CMDB attributes for corresponding CI's. I've looked at many ways to do this. But I am wondering if anyone has done this? And what was the best way they found.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2018 09:42 PM
Hi,
For some discovered CIs such as cmdb_ci_vm_instance we are collecting tags automatically.
For others it is planned to be added in future releases.
Until then, and considering you use discovery/service mapping you can enhance the specific pattern for the resource you collect to query tags using a REST call to AWS to retrieve tags. for instance: https://docs.aws.amazon.com/lambda/latest/dg/API_ListTags.html
Eventually you need to populate the table cmdb_key_value with your collected tags.
Asi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2018 09:58 PM
I know we're doing this for somethings. Pretty much our pattern is, on insert/update of tag in an after BR for CI, update the CI field(s) appropriately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 10:19 PM
Did you find solution for same?