Terraform vs Crossplane vs Pulumi vs CDK: how do you advise a team?
AdvancedScenarioTesting Upgrades and Large-Scale Operations
Answer
Situation read → Tool selection.
What I'd do →
- Terraform/OpenTofu: largest provider ecosystem, declarative HCL, plan/apply workflow, easiest hiring.
- Pulumi / AWS CDK: general-purpose languages, good for developer-heavy teams, more abstraction power and more ways to write unmaintainable code.
- Crossplane: Kubernetes-native control plane, continuous reconciliation, fits platform teams built around Kubernetes APIs.
- Choose by team skills, existing platform and ecosystem fit.
Why → Tool religion is less important than consistent practice, and migration cost is high.
Interview tip → Give a recommendation and the condition under which you'd change it.
More on Testing Upgrades and Large-Scale Operations
What does each of `terraform validate`, `plan` and `terraform test` actually check?BeginnerWrite a native test for a module that creates an encrypted S3 bucket.IntermediateCompare Terratest with `terraform test`.IntermediateReal-cloud integration tests leave orphaned resources when they fail midway. How do you handle that?AdvancedHow do you upgrade from Terraform 1.5 to 1.9 safely?IntermediateMajor AWS provider upgrade from v4 to v5 (or v5 to v6) across many stacks. How do you plan it?Advanced