4 ms·
CDK is far better than Terraform.
by MrDarcy 8mo ago
CDK is far better than Terraform.
- jauntywundrkind 8mo agoIf you're any good at all at CDK, it's cdk8s is also a very solid clear & clean way to do kubernetes too. https://cdk8s.io/ https://cdk8s.io/ I'm trying to make the decision for where to go with my home lab, and while Pulumi and Cue look neat, cdk8s seems so predictable & has such clear structure & form to it. That's said the l1/l2/l3 distinction can be a brute to deal with. There's significant hidden complexity there.
- shepherdjerred 8mo agoI use cdk8s for my homelab and absolutely love it. 100% recommend. Homelab CDKs: https://github.com/shepherdjerred/monorepo/tree/main/packages/homelab/src/cdk8s https://github.com/shepherdjerred/monorepo/tree/main/package... Script I wrote to generate types from Helm charts: https://github.com/shepherdjerred/monorepo/tree/main/packages/homelab/src/helm-types https://github.com/shepherdjerred/monorepo/tree/main/package...
- YetAnotherNick 8mo agoCDK is better when it works. Terraform has so many escape hatches it scales better with edge cases over time. There are all sort of requirements that pops up, specially in times of downtime or testing infra migration in production etc. and it's much easier to manually edit the terraform states.
- juffasdfwa 8mo agoI don't see it that way. CDKs, Terraform, Pulumi all have their use cases and trade offs. I use a mix of them.