Re:Show HN: Infracost (YC W21): Be proactive with your cloud...
by hkh on Wednesday August 09, 2023 @01:04PM
(#37065607)
Bingo - so Infracost will tell you before you launch anything how much it'll cost. Now scale that to a few thousand developers across a large company, and it's very impactful.
Backfilling tags works, but the issue is if Terraform isn't updated, it causes drift - it's much better to fix it at the root, so that's what Infracost helps with
As far as a solution to consistent tagging -- if I am understanding the problem space correctly -- something like Cloud Custodian could possibly help. It's open source and you can set up auto-tagging policies as well as use Cloud Custodian to backfill tags. These policies use lambda functions to respond to certain actions (ie, spinning up an ec2 instance, etc) and auto-tag with the resource creator/owner.