How do you promote a module change from dev to qa to prod?
AdvancedProductionRepository Structure, Environments and Module Strategy
Answer
Tag the module (v2.3.0), bump the version in dev's stack, apply, soak and run tests; then bump qa, then prod through approvals. Because each environment pins a version, you always know what is deployed where, and rollback is reverting the pin (state-compatible changes only). For breaking releases, ship moved blocks and document the migration.
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?IntermediateWhat is an internal module registry strategy?BeginnerHow would you structure multi-account AWS with Terraform?Intermediate