yor

Automatically tag IaC files with metadata and resources

brewmacoslinux
Try with needOr install directly
Source

About

Extensible auto-tagger for your IaC files

Commands

yor

Examples

Tag all Terraform files in current directory$ yor tag -d .
Tag specific CloudFormation file and output tags$ yor tag -f template.yaml
Generate tag report for infrastructure code$ yor report -d ./infrastructure