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: Automating Voicebot Deployments for Amazon Connect | dev.to | 2025-04-16

    In this post, I will share WebRTC.ventures' best practices in automating the deployment of AI-powered voice assistants for Amazon Connect, moving beyond manual, click-by-click setups to a robust, scalable Infrastructure as Code (IaC) approach. We’ll explore how to manage both static and dynamic resources, leverage tools like Terraform and AWS Serverless Application Model (SAM), and even set up an automated deployment pipeline using Github Actions to deploy your conversational IVR solutions efficiently.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. trivy

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

    Project mention: The Only Docker Guide You’ll Ever Need (Beginner to Expert) | dev.to | 2025-04-25

    Trivy (scan for vulnerabilities): https://github.com/aquasecurity/trivy

  4. Pulumi

    Pulumi - Infrastructure as Code in any programming language 🚀

    Project mention: Congrats to the Pulumi Deploy and Document Challenge Winners! | dev.to | 2025-04-17

    Thank you to Pulumi for sponsoring this challenge and giving the community a chance to build and deploy something awesome!

  5. terraformer

    CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code

    Project mention: Using Terraform Workspace for AWS multi account archtetctures | news.ycombinator.com | 2025-02-04

    The Terraformer tool was the biggest blessing when I had to reverse engineer our AWS stack into .tf modules.

    Shoutout to the Waze team for creating it!

    https://github.com/GoogleCloudPlatform/terraformer

    We built out a large serverless stack on AWS, and we got a request from higher ups to convert it all into Terraform modules for portability and transparency purposes.

    The Terraformer tool pulled in the entire stack and spit out the whole thing into tf files in less than 30 seconds.

    Everyone was super impressed on the team lol.

  6. infracost

    Cloud cost estimates for Terraform in pull requests💰📉 Shift FinOps Left!

    Project mention: Top Terraform/OpenTofu tools to Use in 2025 | dev.to | 2025-02-04

    Link: https://github.com/infracost/infracost

  7. crossplane

    The Cloud Native Control Plane

    Project mention: Show HN: Koreo – The platform engineering toolkit for Kubernetes | news.ycombinator.com | 2025-04-10

    I thought Crossplane v2 was only a design proposal at the moment: https://github.com/crossplane/crossplane/pull/6255

    But I guess there is an actual preview implementation now? https://docs.crossplane.io/v2.0-preview/

    The comparison on Kro would definitely be good to include as there are quite a few similarities. I can write up more on how it compares in a bit.

  8. tfsec

    Tfsec is now part of Trivy

    Project mention: Still Shipping 1GB Docker Images? Here’s How to Crush Them in Half an Hour | dev.to | 2025-04-25

    Trivy Security scanner

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. goss

    Quick and Easy server testing/validation

  11. terrascan

    Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.

    Project mention: Terrascan: Detect Compliance and Security Violations Across Iac | news.ycombinator.com | 2025-01-23
  12. digger

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

    Project mention: Top 5 Open Source Tools Platform, SRE, and DevOps need in 2024 | dev.to | 2024-10-18

    Star on Github ✨

  13. copilot-cli

    The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.

    Project mention: In retrospect, DevOps was a bad idea | news.ycombinator.com | 2025-04-14

    Wow, this speaks to me.

    The best that I've found, in general, is to:

    1. Keep the system architecture as simple as possible to meet the needs of the application; don't add infra where you do not absolutely need it

    2. If you must add infra, do it using the highest level abstraction possible.

    On AWS, (the unfortunately named) Copilot CLI[0] is fantastic and feels like the "just right" level of abstraction for a lot of use cases and also feels incredibly ergonomic in daily use while offering enough flexibility to plugin custom CDK or CF if needed.

    Highly, highly recommend AWS Copilot for any teams build on AWS; dramatically simplified deployment and infra for us at previous startup.

    [0] https://aws.github.io/copilot-cli/

  14. DnsControl

    Infrastructure as code for DNS!

  15. driftctl

    Detect, track and alert on infrastructure drift

  16. terracognita

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

    Project mention: Developer Tooling #001 | dev.to | 2025-04-25

    TerraCognita | Github

  17. terraboard

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

  18. nitric

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

    Project mention: Deploying a Sentiment Analysis API with Nitric and Python | dev.to | 2025-04-08

    In this guide, you’ll build a serverless API using Nitric and Python that performs sentiment analysis on text input using a pre-trained machine learning model. You'll use the transformers library from Hugging Face and keep your project lightweight by installing dependencies directly with uv.

  19. 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

    Project mention: Top Terraform/OpenTofu tools to Use in 2025 | dev.to | 2025-02-04

    Link: https://github.com/env0/terratag

  20. 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.

  21. stackql

    Query, provision and operate Cloud and SaaS resources and APIs using an extensible SQL based framework

    Project mention: Introducing StackQL - Manage Your Cloud Services & Interact with APIs using SQL 🧑‍💻🔥 | dev.to | 2025-02-17

    StackQL has been created to help developers standardize their cloud workflows, introducing a unified environment for cloud resources management.

  22. multy

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

  23. pulumi-aws

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

  24. 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).

  25. burrito

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

    Project mention: Top Terraform/OpenTofu tools to Use in 2025 | dev.to | 2025-02-04

    Link: https://github.com/padok-team/burrito

  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

  • The Only Docker Guide You’ll Ever Need (Beginner to Expert)

    3 projects | dev.to | 25 Apr 2025
  • Congrats to the Pulumi Deploy and Document Challenge Winners!

    1 project | dev.to | 17 Apr 2025
  • In retrospect, DevOps was a bad idea

    1 project | news.ycombinator.com | 14 Apr 2025
  • Deploying a Sentiment Analysis API with Nitric and Python

    2 projects | dev.to | 8 Apr 2025
  • Modern Infrastructure as Code: OpenTofu vs. Crossplane vs. Pulumi

    3 projects | dev.to | 7 Apr 2025
  • 🔥Pulstack: Deploy your static site to S3 or GitHub in <1 min🙂

    4 projects | dev.to | 6 Apr 2025
  • From Zero to Hosted: Building a Static Website Platform with Pulumi and MinIO

    1 project | dev.to | 2 Apr 2025
  • A note from our sponsor - InfluxDB
    influxdata.com | 28 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. 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 45,062
2 trivy 25,926
3 Pulumi 22,908
4 terraformer 13,484
5 infracost 11,420
6 crossplane 10,192
7 tfsec 6,807
8 goss 5,723
9 terrascan 4,907
10 digger 4,493
11 copilot-cli 3,621
12 DnsControl 3,357
13 driftctl 2,530
14 terracognita 2,271
15 terraboard 1,973
16 nitric 1,673
17 terratag 975
18 yor 872
19 stackql 771
20 multy 647
21 pulumi-aws 544
22 Selefra 531
23 burrito 456

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

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