What do you do when a module has too many variables?
IntermediateProductionRepository Structure, Environments and Module Strategy
Answer
Group related options into objects (optional() attributes with defaults), split the module along responsibility lines, hide advanced options behind one advanced object, and give strong defaults so callers set only what differs. A module with 80 required inputs is a configuration file in disguise.
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