stelligent / config-lint

Command line tool to validate configuration files
https://stelligent.github.io/config-lint/#/
MIT License
195 stars 39 forks source link

Detect merged tags #211

Open lijok opened 4 years ago

lijok commented 4 years ago

A very common pattern for terraform resources is to have common tags defined in locals, and then use terraforms merge function to merge in extra resource-specific tags, per resource i.e tags = merge(local.tags, {Name="hasura"})

I can see the linter detects tags referenced in locals, however, doesn't resolve merged tags

Would it be possible to add this functionality?

Thank you