I use terraform fairly extensively in my role, and saw terraform cdk seems to be a nice extension to terraform. Unfortunately it’s convert feature hasn’t seemed to work for me and I’m hesitant to rewrite everything by hand.
Has anyone been using cdktf and enjoying it enough that could convince me to do that rewrite?
Lowpass ( @Lowpass@beehaw.org ) English2•2 years agoIt’s not considered v1.0 and is not feature complete. 1.0 will almost certainly contain breaking changes. I’ve used it for some POCs and a some demos but nothing in active use, mostly for those reasons.
That said, it’s hard to understate how amazing it is to get out of YAML and use a real programming language with strong types to build infrastructure. You’ll want to do everything in CDK. If you’re using AWS only, use AWS CDK and skip terraform. The additional layer offers nothing meaningful.
deadbeef ( @deadbeef@programming.dev ) English2•2 years agoCan’t opine on cdktf yet (though it looks dank); but why rewrite if you could make something new to explore it and test its maturity?
That probably makes more sense in hindsight. I tried to convert a project and it was still kinda messy. Starting from scratch would be a decent idea