Interview Prep/Terraform/Repository Structure, Environments and Module Strategy

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.

All Terraform questions Roadmap: Terraform in production

More on Repository Structure, Environments and Module Strategy