How would you structure multi-account AWS with Terraform?
IntermediateProductionRepository Structure, Environments and Module Strategy
Answer
A management account for Organizations and SCPs, a log archive and audit account, shared services (networking, CI), and workload accounts per environment. Account vending can be automated (Control Tower Account Factory for Terraform, or custom modules). Each account gets a baseline stack (IAM roles, CloudTrail, Config, KMS) applied from a central pipeline that assumes a bootstrap role in the target account.
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