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

How do you bring an existing cloud estate under Terraform?

AdvancedProductionRepository Structure, Environments and Module Strategy
Answer

Inventory first. Prioritise by risk and change rate rather than importing everything. Write modules for new work, import critical existing resources with import blocks (and -generate-config-out as a draft), review generated code, remove noise, and only then enforce through IAM that changes go through Terraform. Expect to find drift and orphaned resources; do not try a big bang.

All Terraform questions Roadmap: Terraform in production

More on Repository Structure, Environments and Module Strategy