Interview practice question
Restructuring modules across many states without recreating resources
Cloud & DevOps · Terraform and IaC · Experienced
You need to reorganise a large codebase, moving resources between modules and states, across dozens of configurations. How do you do it safely?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Plan the target structure; batch changes.
- moved blocks for within-state moves.
- removed + import blocks for cross-state moves.
- Zero-change plans as acceptance criteria.
- Automate, back up state, freeze changes during migration.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.