Terraform state migration and refactoring

Infrastructure reorganization and technical debt reduction Free template — copy and paste into ChatGPT, Claude, or Copilot.

Part of