4 ms·
You can write declarative Infrastructure as Code in a language you’re already familiar with, rather than having to learn (& work around) HCL. I’ve written a lo
by pageandrew 4y ago
You can write declarative Infrastructure as Code in a language you’re already familiar with, rather than having to learn (& work around) HCL.
I’ve written a lot of HCL and find myself wanting to extract things into components and put in place abstractions in ways that don’t always jive with how Terraform requires you to do things. Being able to build those abstractions in my favorite language, then have that compile down into declarative IaC… that’s the draw.
I personally use Terraform CDK for this, which is Hashicorp’s answer to Pulumi.
- metadat 4y agoSounds cool. I've come to loathe HCL, it is annoying at best. It's not really like any other common programming language, I have to relearn it every time I go back to make a change to my TF code, only a few times per year. Thanks!
- mountainriver 4y agoExactly, this is the problem with HCL. I feel like every time I use it I need to relearn it
- nazka 4y agoOne (big) limitation though with Terraform CDK is that it's limited to AWS only. Pulumi gives you access to more than 60 providers. Also testing which a big step forward for Iaac.