Show HN: Unobin compiles Infrastructure as Code to one binary

(cloudboss.co)

19 points | by joseph 5 days ago ago

4 comments

  • tekacs a day ago ago

    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.

    • joseph 21 hours ago ago

      I haven't gotten around to it yet, but it's on my TODO list to add an embedded mode so a "factory" can be imported as just another library in a Go program. As of now, it compiles to a standalone binary with the same CLI options as every other factory, so there is a uniform interface.

  • theIntangible a day ago ago

    How does this compare to using Pulumi with golang?

    • joseph 21 hours ago ago

      I haven't used Pulumi heavily, but unobin code has its own syntax more similar to terraform that compiles to Go. You can drop into Go for writing libraries however.