Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> but infrastructure code is somewhere you really want to be able to drop into the full expressive power of a programming language.

Please expand on what this expressive power you need is. I see things like Pulumi and I can only think of IaC codebases that end up being turing tarpits in the hands of developers that don't get what the whole point of the declarative model is, putting a bunch of untestable arbitrary IO and high cyclomatic complexity in the middle of determining what is going to be deployed.

And this is definitely not an argument against having better languages than HCL, Dhall would certainly be a step up that doesn't give the developer an arsenal of footguns to move fast and wreak havoc on the underlying foundations of a business. But I want to know what needs you have that you feel are worth the risk of putting a bull in the china shop.



for_each[0] was a good example, though it's been in there for a long time.

Pulumi was around at the same time and wouldn't have suffered from this same problem, though this was 2 years ago.

[0]: https://www.hashicorp.com/blog/hashicorp-terraform-0-12-prev...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: