by fishnchips · 3y ago · 0 comments
You will be able to generate tfjson w tfcdk and execute it with opentf
But a preprocessor that deserves the glory.
Imagine writing in a real programming language, with real variables, loops, function calls, etc. And then imagine trying to use HCL instead.
Re: programming languages... I love programming. Just not my infra.
Very few applications built as HTML. Always some templating language/process on top of it.
One of the benefits to HCL is standardization. Every terraform module looks exactly the same as every other module.
There's a reason Cloudformation added CDK, and Pulumni only uses mainstream languages.