What problem does it solve?
Teams maintaining the same AWS infrastructure in both Terraform and CDK face configuration drift, where changes to one IaC tool silently diverge from the other, causing inconsistent deployments and hard-to-trace environment differences.
Core Features & Use Cases
- Full or Targeted Sync Checks: Compare ECS services, networking, storage, secrets, IAM, observability, and CI/CD resources across
terraform/aws-ecs/ and infra/ using a detailed file mapping and per-area checklists.
- Parity Reporting: Generate a structured parity report with per-area status, discrepancy tables, intentional differences, and prioritized fix recommendations.
- Automated Fix Application: Apply corrections to the target IaC tool and verify with
npx tsc --noEmit for CDK or terraform validate for Terraform.
- Use Case: After updating ECS task definitions in Terraform, run a targeted sync to confirm the CDK stacks define identical environment variables, secrets, and health checks before deployment.
Quick Start
Ask the assistant to check whether the Terraform and CDK infrastructure are in sync and report any parity gaps.