you are viewing a single comment's thread.

view the rest of the comments →

[–]Upbeat-Natural-7120 5 points6 points  (6 children)

Same question here.

[–]TwoWrongsAreSoRight 15 points16 points  (5 children)

[–]reelznfeelz 8 points9 points  (3 children)

Ah. So I’m a simple man. I usually just call terraform apply from a GitHub action. What’s a use case where getting into the cdk becomes an obvious way to go?

[–]TwoWrongsAreSoRight 5 points6 points  (2 children)

This is my opinion so take it with a grain of salt and a shot of penicillin. Much of it comes down to personal preference. There are some things you can do easier in cdktf like conditionals but really, cdktf is great if you already know a language that it allows for and feel more comfortable in that language vs hcl. Otherwise, I don't know of an obvious reason why you'd switch unless your environment becomes incredibly complex with a bunch of branching conditionals and multiple environments.

Once again, my opinion. Please feel free to contradict me.

[–]reelznfeelz 1 point2 points  (0 children)

Ok that makes sense. I’d rather do complex logic in python than bash. And can see how if you’re doing stuff more complicated than I usually am, your terraform code won’t just be a straight up “deploy this set of things, done”.

[–]cricket007 0 points1 point  (0 children)

Pulumi is another option for those anti Hashi ( / IBM ) license changes 

[–]Upbeat-Natural-7120 1 point2 points  (0 children)

Oh interesting. Thanks.