How do you enforce naming and tagging standards?
BeginnerProductionRepository Structure, Environments and Module Strategy
Answer
Compute names in a shared locals or naming module ("${var.org}-${var.env}-${var.service}"), set default_tags at the provider, enforce mandatory tags with a Checkov or OPA policy on plan JSON, and add AWS tag policies or Config rules as a backstop. Standards enforced only by convention drift within months.
More on Repository Structure, Environments and Module Strategy
Monorepo or multi-repo for Terraform?BeginnerHow do you lay out environments in a repo?BeginnerWhen would you adopt Terragrunt?BeginnerDo you use tfvars files per environment or code branches?IntermediateHow do you promote a module change from dev to qa to prod?AdvancedWhat is an internal module registry strategy?Beginner