2 ms·
> Modeling IaC using HCL for Terraform isn't any better. I'm done writing configs in pseudo-languages. It sucks. Counterpoint, yes, it is better. It's an extre
by sgarland 3y ago
> Modeling IaC using HCL for Terraform isn't any better. I'm done writing configs in pseudo-languages. It sucks.
Counterpoint, yes, it is better. It's an extremely straightforward DSL, with easily understandable docs. Importantly (IMO), it's a declarative language, which is how infrastructure should be defined, because it a. produces exactly what you tell it to, without any surprises b. results in short* and easily understandable code.
*: Short is relative. I've worked with massive TF codebases. I meant that I don't have to spend LoC telling Terraform how to do something, I just tell it what the end result should be.