4 ms·
> Use Javascript, a true programming language, no more YAML or Domain Specific language. This appears to be a jab at Terraform but Terraform's declarative lang
by diceduckmonk 4y ago
> Use Javascript, a true programming language, no more YAML or Domain Specific language.
This appears to be a jab at Terraform but Terraform's declarative language is supposed to be a step forward from ad-hoc provisioning scripts. One of the issues with imperative scripts is you have to be mindful of intermediate state whereas Terraform allows the users to just think about the initial and final state.
- l3uwin 4y agoPretty much this. I don't know any DevOps engineers begging to make their configs even less readable
- jaimehrubiks 4y agoI must say that I prefer the declarative nature of terraform, but it's true that in many cases I've spend ages trying to create variables through loops, whereas in a regular programming language it would have taken me minutes. And sometimes I also face things impossible to do.
- blowski 4y agoI use simple Bash or Python scripts while prototyping, then Terraform for anything that needs maintenance in production.
- yazaddaruvala 4y ago> declarative language is supposed to be a step forward from ad-hoc provisioning scripts. The best config systems I've seen leverage a programatic framework to generate declarative JSON/YAML. Rather than needing to bolt one on top.