A detailed account of migrating 30+ Kubernetes clusters from a mixed infrastructure setup using Sceptre, CloudFormation, and AWS CDK to Terraform. The migration followed an iterative approach with heavy automation, including automated terraform imports, comprehensive CI/CD pipelines, and custom tooling. Key strategies included
Table of contents
How We Migrated 30+ Kubernetes Clusters to TerraformPrologue: Scaling Pains and Early ChoicesThe CDK Era: Promise and PainA Shift in Strategy: The Terraform TurnThe Migration: Automate, Check, Polish, RepeatTrade-offs and Rollbacks: No Silver BulletsOnboarding and Knowledge Transfer: Hands-on, Not HandbooksAutomation: From Manual to MachineStart simpleImport Statements at ScaleMake it work locallyBringing CI Logic to Local DevelopmentIteration and validation beat big-bang migrationsLooking ForwardSort: