5 ms·
Even worse, every generation repeats this mistake. I‘m not sure S-Expressions are the answer, but Terraform HCL should never have been invented.
by MrBuddyCasino 3y ago
Even worse, every generation repeats this mistake. I‘m not sure S-Expressions are the answer, but Terraform HCL should never have been invented.
- SOLAR_FIELDS 3y agoI was just telling a colleague today that HCL is great until you need to do a loop. A lot of parallels to this YAML discussion
- quchen 3y agoMy favorite pattern in HCL is the if-loop. Since there is no »only do this resource if P« in Terraform, the solution is »run this loop not at all or once«.
- kevincox 3y agoI'll take HCL over YAML templating any day. At least it is working with real data structures not bashing strings together. That being said, yes, it is also an awful language.