News for hackers. Stuff that matters.
Re:The Big DevOps Misunderstanding by lukevp on Sunday December 19, 2021 @04:20PM (#29618542)
If you haven’t heard about cdktf, check it out! It lets you do infrastructure as code but in full programming languages like Python, C# and TypeScript. It’s by hashicorp, and under the covers it runs Terraform, so you have the whole set of terraform providers at your disposal.
Re:The Big DevOps Misunderstanding by manish_gill on Sunday December 19, 2021 @04:23PM (#29618560)
Ah, CDKTF seems to be the Pulumi equivalent for Terraform. I think I remember seeing it.

We're far too invested into Terraform at this point to learn yet another tool. Oh well. Hopefully the next time I have to implement something like this, K8s ecosystem would also have similar tools (or maybe I just missed something)

Re:The Big DevOps Misunderstanding by chucky_z on Sunday December 19, 2021 @04:43PM (#29618722)
There’s a straight up conversion tool iirc, and you can do things like include hcl as well I believe. Cdktf is just terraform at the bottom.
Re:The Big DevOps Misunderstanding by cloudcalvin on Sunday December 19, 2021 @04:28PM (#29618607)
If you havn't heard, check out Pulumi..
Re:The Big DevOps Misunderstanding by topochico3 on Sunday December 19, 2021 @04:58PM (#29618842)
I don’t understand the appeal of CDK, it’s the most difficult to understand overly complex part of IaaC I have ever come across.

I want simple yaml/hcl that is easy to understand and write. I don’t need to feel smart writing TF, I need it to be easy to understand to reduce MTTR when things go wrong.

Re:The Big DevOps Misunderstanding by ryan_lane on Monday December 20, 2021 @01:54AM (#29622140)
Try to TF manage a large github organization with just terraform and get back to me. I'm having to wrap it with python code already, and my next step is the CDK.

The biggest issue is that parts of the TF for github requires references, and it fetches each of those references individually (which which quickly make you hit your ratelimit, while also taking 10+ minutes for just a plan). Wrapping this in python, and doing more efficient fetches ahead of time, and feeding the references in yourself can turn a 10+ minute plan into a 20 second plan for 1000+ repos.

Re:The Big DevOps Misunderstanding by kazen44 on Sunday December 19, 2021 @05:31PM (#29619143)
the issue with yaml is that is breaks down under real life complexities in larger/complexer environments.