How should a module repo be organised?
BeginnerProductionRepository Structure, Environments and Module Strategy
Answer
Root module files at top level, examples/basic and examples/complete that actually run in CI, tests/ for .tftest.hcl files, optional modules/ submodules, README generated by terraform-docs and a CHANGELOG. Examples double as documentation and integration tests.
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