Do you use tfvars files per environment or code branches?
IntermediateProductionRepository Structure, Environments and Module Strategy
Answer
tfvars (or Terragrunt inputs) per environment, one branch. Environment-per-branch means promotions are merges that nobody can reason about and fixes need cherry-picking. A single main branch with per-environment directories and version-pinned modules keeps the diff for each promotion visible.
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?BeginnerHow do you promote a module change from dev to qa to prod?AdvancedWhat is an internal module registry strategy?BeginnerHow would you structure multi-account AWS with Terraform?Intermediate