Go infrastructure-as-code

Open-source Go projects categorized as infrastructure-as-code

Top 23 Go infrastructure-as-code Projects

infrastructure-as-code
  1. terraform

    Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

    Project mention: Terraform: cómo declarar infraestructura en código con HCL | dev.to | 2026-09-21
  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. trivy

    Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more

    Project mention: Docker Scout e Trivy segurança de imagens de contêiner na prática | dev.to | 2026-10-07

    Repositório do Trivy no GitHub

  4. Pulumi

    Pulumi - Infrastructure as Code in any programming language 🚀

    Project mention: 23 TypeScript Tools for Making Software Explicit in the AI Era | dev.to | 2026-08-21

    Pulumi makes infrastructure resources, dependencies, and configuration explicit as typed code.

  5. infracost

    Cloud cost intelligence for engineers, AI coding agents, and CI/CD 💰📉 Shift FinOps Left!

  6. crossplane

    The Cloud Native Control Plane

    Project mention: Crossplane AI Contribution Policy | news.ycombinator.com | 2026-09-01
  7. tfsec

    Tfsec is now part of Trivy

    Project mention: Best DevSecOps Security Tools for CI/CD Pipeline Protection | dev.to | 2026-06-27

    Representative tools: Checkov is the broadest — it covers Terraform, Ansible, Kubernetes, and more out of the box. tfsec is Terraform-focused and fast (now converging with Trivy). KICS covers a wide spread of IaC formats.

  8. goss

    Quick and Easy server testing/validation

    Project mention: 2026 is the Year of Self-hosting | news.ycombinator.com | 2026-01-11

    Timely! I just re-setup my Pi5 with the help of Claude. https://github.com/kaihendry/ai-pi

    Tbh I did the mistake of throwing away Ansible, so testing my setup was a pain!

    Since with AI, the focus should be on testing, perhaps it's sensible to drop Ansible for something like https://github.com/goss-org/goss

    Things are happening so fast, I was impressed to see a Linux distro embrace using a SKILL.md! https://github.com/basecamp/omarchy/blob/master/default/omar...

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. digger

    Digger is an open source IaC orchestration tool. Digger allows you to run IaC in your existing CI pipeline ⚡️

    Project mention: Show HN: Tf-dialect: Teach AI agents your org's Terraform standards via MCP | news.ycombinator.com | 2025-11-14

    Hey HN - I am working on a terraform automation tool [1] and have been observing that a lot of our users are now using coding agents in their workflows, even for infra tasks. Obviously, this means a lot of terraform is being generated by coding agents, and while this is great for greenfield setups, most teams already have conventions in place.

    My colleague was speaking to a friend earlier today, who mentioned that they've heard from people who "never wanted to touch TF starting to use it because AI is making it easier for them."

    This led me to think that we need to make it easy for folks to use their agents to generate context aware IaC, and we need to be the best tool to run that agent generated IaC.

    In the process of this thought exercise I vibe coded tf-dialect. Would love to learn how the community uses coding agents to manage infra and if something like this would be useful.

    [1]: https://digger.dev

  11. DnsControl

    Infrastructure as code for DNS!

    Project mention: DeSEC – Free Secure DNS | news.ycombinator.com | 2026-09-04

    When I last tried deSEC, the service was reliable and well worth the price of admission, but the web UI and API were both quite rough, and propagation tended to be quite slow. It was annoying to do an ACME DNS01 challenge on it, for example. IIRC, the API didn't have a complete set of replace/edit endpoints, so even DNSControl (https://github.com/DNSControl/dnscontrol) would leave records nonexistent for a while while during updates.

    As an aside—though this certainly applies to deSEC—it's strange to me how so many DNS services (free or paid) struggle to import simple Bind zone files, often either giving a vague error ("one or more records could not be imported"), mangling records, or even just silently omitting records. Parsing a zone file has some gotchas, but it doesn't seem like it should be that hard.

  12. driftctl

    Detect, track and alert on infrastructure drift

  13. terracognita

    Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration

  14. nitric

    Nitric is a multi-language framework for cloud applications with infrastructure from code.

    Project mention: An open source universal back end framework | news.ycombinator.com | 2026-02-02
  15. terraboard

    :earth_africa: :clipboard: A web dashboard to inspect Terraform States

  16. terratag

    Terratag is a CLI tool that enables users of Terraform to automatically create and maintain tags across their entire set of AWS, Azure, and GCP resources

  17. stackql

    Query, provision and operate Cloud, SaaS, API and Model Context Protocol (MCP) resources through a unified SQL-based framework for humans and AI agents.

    Project mention: One manifest, two clouds: multi-cloud infrastructure with stackql-deploy | dev.to | 2026-09-28

    If the pattern makes sense to you, star the stackql repository so more developers find it. Full documentation, more manifest examples, and provider-specific guides are at stackql-deploy.io.

  18. yor

    Extensible auto-tagger for your IaC files. The ultimate way to link entities in the cloud back to the codified resource which created it.

  19. formae

    Open-source Infrastructure As Code that starts from what already runs. formae discovers your estate, versions drift and hands back current code. A Terraform and Pulumi alternative built on Pkl, with an MCP server for AI agents.

    Project mention: Show HN: Formae now supports Kubernetes, Helm, .tfvars and a public plugin hub | news.ycombinator.com | 2026-05-20
  20. burrito

    🌯 Burrito is a TACoS Kubernetes Operator - "Argo CD for Terraform" (by padok-team)

  21. multy

    Multy - Easily deploy multi cloud infrastructure. Write cloud-agnostic config deployed across multiple clouds

  22. pulumi-aws

    An Amazon Web Services (AWS) Pulumi resource package, providing multi-language access to AWS

  23. Selefra

    The open-source policy-as-code software that provides analysis for Multi-Cloud and SaaS environments, you can get insight with natural language (powered by OpenAI).

  24. terracost

    Cloud cost estimation for Terraform in your CLI

  25. kubecfg

    A tool for managing complex enterprise Kubernetes environments as code. (by kubecfg)

    Project mention: Helm v4.0.0 | news.ycombinator.com | 2025-11-12

    I'm curious what the google cli is that you're referring to. Could it be kubecfg (https://github.com/kubecfg/kubecfg)?

    I've used it in the past (for a quite small deployment I must say), but have been very happy with it. Specifically the diff mode is very powerful to see what changes you'll apply compared to what's currently deployed.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go infrastructure-as-code discussion

Log in or Post with

Go infrastructure-as-code related posts

  • Terraform: cómo declarar infraestructura en código con HCL

    3 projects | dev.to | 21 Sep 2026
  • Peekl: An Alternative to Puppet and Ansible

    1 project | news.ycombinator.com | 31 Aug 2026
  • Building a Monorepository of Terraform Modules on GitLab

    4 projects | dev.to | 17 Jul 2026
  • Scaling Terraform Infrastructure Beyond a Single Team

    2 projects | dev.to | 6 Jul 2026
  • Detecting and Managing Terraform Drift

    3 projects | dev.to | 3 Jul 2026
  • The Problem with Large Terraform States

    2 projects | dev.to | 30 Jun 2026
  • Scarab Diagnostic Suite Field Test #006: Terraform Console Panic

    1 project | dev.to | 3 Jun 2026
  • A note from our sponsor - AppSignal
    www.appsignal.com | 8 Oct 2026
    APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product. Learn more →

Index

What are some of the best open-source infrastructure-as-code projects in Go? This list will help you:

# Project Stars
1 terraform 49,837
2 trivy 38,179
3 Pulumi 25,755
4 infracost 12,550
5 crossplane 12,106
6 tfsec 7,043
7 goss 5,984
8 digger 5,047
9 DnsControl 3,959
10 driftctl 2,662
11 terracognita 2,385
12 nitric 2,018
13 terraboard 2,009
14 terratag 1,057
15 stackql 1,057
16 yor 933
17 formae 774
18 burrito 756
19 multy 662
20 pulumi-aws 577
21 Selefra 546
22 terracost 359
23 kubecfg 257

Sponsored
Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com

Did you know that Go is
the 4th most popular programming language
based on number of references?