Re:Terraform vs. AWS CloudFormation
by midnightblue on Saturday October 09, 2021 @04:56AM
(#28808177)
HCL being so restricted is the reason why many teams feel the need to implement a layer on top of it.
Once you’re working with HCL templated via Gomplate or what have you, and a pipeline which processes the code base and then spits out the resultant HCL as an artifact to be used by a subsequent step, you’ll pine for the impenetrable JS or Python code. At least that is code which has a reasonable development workflow associated with it, not a monstrosity held together with duct tape and vulgar hacks.
I like that HCL is declarative and deliberately restricted in what’s possible, it means I never have to think about some dev writing “clever” code or over abstracting things, or writing bugs that spin up to many machines.