Go infrastructure-as-code

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

Top 23 Go infrastructure-as-code Projects

  • terraform

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

    Project mention: Can ChatGPT Terraform Simple Networking In AWS? | dev.to | 2023-03-29

    Usually, when it comes to technology, my grandmother doesn't know much because she doesn't care. What is the cloud? How to install a new browser on her laptop? What is 2FA? I might be speaking French to her as I discuss these things. Yet, she knows what ChatGPT is. This shows the vast amount of publicity, hype, and polarization that has ensued since November 2022. I tend to avoid AI fear-mongering and focus more on, how could a tool like this help enhance my daily grind? Can ChatGPT write Terraform as elegantly as a poem written from the perspective of Samuel L. Jackson in Pulp Fiction? Let's take it for a spin on AWS using infrastructure-as-code.

  • trivy

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

    Project mention: How to scan and control the K8 objects are being created against security threats? | reddit.com/r/kubernetes | 2023-03-24

    Trivy to scan your Container Image, for example as an Artefact finished building for your application in CI/CD.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • Pulumi

    Pulumi - Universal Infrastructure as Code. Your Cloud, Your Language, Your Way 🚀

    Project mention: Web developer looking to specialize in devops should I learn Ansible or Terraform? | reddit.com/r/devops | 2023-03-29

    Check out Pulumi as well.

  • terraformer

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

    Project mention: Best way to reverse engineer existing resources into terraform enterprise? | reddit.com/r/Terraform | 2023-03-28
  • infracost

    Cloud cost estimates for Terraform in pull requests💰📉 Love your cloud bill!

    Project mention: Carbonifer: estimate carbon footprint Terraform projects | reddit.com/r/Terraform | 2023-02-03

    I've started to work on Carbonifer, a tool that can estimate carbon emissions before deploying an infrastructure. A bit like infracost, this reads Terraform files and estimates carbon emissions if this plan is applied.

  • tfsec

    Security scanner for your Terraform code

    Project mention: Terraform Security Best Practices | reddit.com/r/devops | 2023-03-21

    We use https://github.com/aquasecurity/tfsec we found checkov.io to be quite noisy

  • goss

    Quick and Easy server testing/validation

    Project mention: Is docker the right tool for my use case? (testing an installscript) | reddit.com/r/docker | 2023-01-22

    Docker would work. I suggest also integrating infrastructure tests to validate your install script behaved as expected. For example, you could use goss.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • terrascan

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

    Project mention: Popular and recommended tools for vulnerability scanning | reddit.com/r/Terraform | 2023-03-10
  • 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: Heroku Status – Dashboard/API Offline | news.ycombinator.com | 2023-03-16

    We are spending about 60% less. Workload has actually lessened since AWS is so much more stable. Getting to a similar DX as Heroku was quite the lift, but once it's done, it's done. These days we generally only have outages when we screw something up ourselves. I recommend https://github.com/aws/copilot-cli for starting out on ECS.

  • DnsControl

    Synchronize your DNS to multiple providers from a simple DSL

    Project mention: Domain registrar Gandi gets bought out, screws existing customers | news.ycombinator.com | 2023-03-09

    DNSControl[1] or another similar tool also helps a lot when moving. My DNS records are configured by a small JavaScript file in a git repository, and I can very easily point it at another DNS provider.

    [1]: https://dnscontrol.org/

  • driftctl

    Detect, track and alert on infrastructure drift

    Project mention: Terraform Drift Detection | reddit.com/r/devops | 2023-02-04

    driftctl. That is all.

  • terraboard

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

    Project mention: Self hosting OS question | reddit.com/r/selfhosted | 2023-02-07

    My wiki might be a good place to get started with setting up your own cluster, and I provided some example configuration written in Terraform for Jellyfin, Jellyseerr and the Servarr apps, that are pretty much fire and forget. You'll need to learn some Terraform to use the snippets I provided, and once you've done that you can have an automated deployment of your apps which is also more transparent with tools like Terraboard to view your configuration, and the possibility to automate deployments in CI/CD with a runner like Drone.

  • terracognita

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

    Project mention: Importing multiple modules at once from AWS | reddit.com/r/Terraform | 2023-02-13

    You can use tools like https://github.com/cycloidio/terracognita or https://github.com/iann0036/former2 to generate the terraform code for you. Then you can consolidate them and if they are simply the same type of objects with different values then you can use terragrunt to pass values to your terraform module.

  • 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: Standardized tags across all Azure resources with terraform | reddit.com/r/Terraform | 2022-10-09
  • iam-policy-json-to-terraform

    Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document

    Project mention: Is it possible to view an IAM role as Terraform code? | reddit.com/r/aws | 2022-10-28

    If you have access to the policy JSON: iam-policy-json-to-terraform

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

    Project mention: Any opensource Devops related projects to contribute to? | reddit.com/r/devops | 2022-05-08
  • multy

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

    Project mention: Wrapper for the Terraform's AWS, Azure, and GCP providers | reddit.com/r/devops | 2023-01-30
  • kusion

    Platform Engineering Engine: Deliver intentions to Kubernetes and Clouds

    Project mention: What we gained from our platform engineering practice in Ant Group | reddit.com/r/platformengineering | 2023-03-16

    Platform engineering holds the key to modern app operations, and we’re proud to announce the open sourcing of KusionStack, which builds upon our established practices here at AntGroup.

  • stackql

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

    Project mention: StackQL Studios - Query, provision, secure & operate cloud resources using SQL | reddit.com/r/programming | 2023-02-04
  • kubecfg

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

    Project mention: Jsonnet – The Data Templating Language | news.ycombinator.com | 2023-03-27

    kubecfg does add some features, like https:// imports, oci:// imports (oci bundles in OCI registries, transitively bundling all imported files with jsonnet-deps).

    But yes, I strive to keep the "one file, one target, import whatever you need but explicitly" as much as possible.

    I'm pouring some more time into the project and trying to implement some ideas I had for a long time but never managed to get them out. For example "Flags From Files" (https://github.com/kubecfg/kubecfg/blob/flagspec/docs/rfcs/r...) or "Caching + optional vendoring of immutable external deps".

  • Selefra

    Selefra means "select * from infrastructure". It is an open-source policy-as-code software that provides analysis for Multi-Cloud and SaaS environments, including over 30 services such as AWS, GCP, Azure, Alibaba Cloud, Kubernetes, Github, Cloudflare, and Slack.

    Project mention: Selefra: The Open-Source Policy-as-Code Tool for Terraform and Muti-Cloud | reddit.com/r/selfhosted | 2023-03-21
  • cfnctl

    Cfnctl brings the Terraform cli experience to AWS Cloudformation :cloud:

    Project mention: Cfnctl - Terraform cli experience for AWS Cloudformation | reddit.com/r/golang | 2023-03-22
  • terraform-provider-splunk

    Terraform Provider for Splunk

    Project mention: Ansible vs Terraform Splunk | reddit.com/r/Splunk | 2022-10-14

    There is a splunk terraform provider https://github.com/splunk/terraform-provider-splunk.

  • SaaSHub

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

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). The latest post mention was on 2023-03-29.

Go infrastructure-as-code related posts

Index

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

Project Stars
1 terraform 36,658
2 trivy 16,726
3 Pulumi 15,464
4 terraformer 9,845
5 infracost 8,811
6 tfsec 5,697
7 goss 5,109
8 terrascan 3,946
9 copilot-cli 2,745
10 DnsControl 2,531
11 driftctl 2,171
12 terraboard 1,724
13 terracognita 1,572
14 terratag 759
15 iam-policy-json-to-terraform 658
16 yor 638
17 multy 589
18 kusion 498
19 stackql 112
20 kubecfg 109
21 Selefra 100
22 cfnctl 88
23 terraform-provider-splunk 80
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com