logoalt Hacker News

Show HN: Unobin compiles Infrastructure as Code to one binary

7 pointsby josephlast Sunday at 4:06 PM1 commentview on HN

Unobin is a language and compiler for Infrastructure as Code (IaC).

IaC source is written and compiled to a binary, called a factory. The factory includes the runtime and all dependencies. To run a factory, pass it a configuration called a stack file that defines backend state and factory inputs. The stack file can only contain configuration, not arbitrary code. Factories can also display a UI in a browser showing progress (animated screenshot in the docs).


Comments

tekacstoday at 4:02 AM

This seems absolutely lovely. In my codebase, going back a long way, I built a simple project/company-specific Rust crate called `devops`, which I use to manage all IaC infrastructure building and everything else. And it's been by far and away the best way to manage everything.

I would love to see more frameworks for things like this that are just libraries or similar, so that you can just use normal programs for these sorts of tasks.