What problem does it solve? Migrating legacy Terraform environments to a new Terragrunt structure leaves scaffolded files full of PLACEHOLDER values that must be manually replaced with real resource names, IDs, and secrets mappings, which is tedious and error-prone across many environments. ## Core Features & Use Cases - Placeholder Replacement: Replaces PLACEHOLDER entries in terragrunt.hcl files with real Azure resource names, resource groups, and configurations sourced from legacy environment.auto.tfvars, backend.hcl, and secrets.tfvars.tmpl files. - State-Aware Orchestration: Verifies Phase 2 scaffolding is complete via migration_get_state before proceeding, and marks the environment as populated via migration_update_state afterward. - Residual Placeholder Detection: Scans populated environment directories for any remaining PLACEHOLDER strings and reports them for manual input. - Use Case: After scaffolding 13 standard environments, run this phase per environment (e.g., us-centralus-dev, uk-uksouth-prod) to inject real values, review the diffs, and confirm before moving to the next environment. ## Quick Start Populate the us-centralus-dev environment in my target repo with real values from the legacy Terraform configuration.