Go Terraform

Open-source Go projects categorized as Terraform

Top 23 Go Terraform 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: Beginner's guide to creating a Terraform Provider | reddit.com/r/Terraform | 2022-11-26

    You have an API and you want your customers to be able to use that API via Terraform. In this post I’m going to explain how you can write your own Terraform provider to enable your customers to integrate your API into their “infrastructure as code” pipeline.

  • terraformer

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

    Project mention: What are some Terraform automation tools you want to exist? | reddit.com/r/Terraform | 2022-11-24

    Have you seen it https://github.com/GoogleCloudPlatform/terraformer?

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • infracost

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

    Project mention: tfautomv v0.5 released | reddit.com/r/Terraform | 2022-11-20

    There is some discussion on the infracost issue tracker where it looks like this specific error is more common with tgenv

  • terraform-provider-aws

    Terraform AWS provider

    Project mention: AWS: How to provision RDS Custom Oracle instance via Terraform? | reddit.com/r/Terraform | 2022-11-21

    The docs for aws_db_instance don't specify, and googling finds somebody asking for this support, but that bug being closed by solving something in the comments but not the actual bug.

  • terratest

    Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.

    Project mention: Alternative to InSpec: what do you use to "assert things have been correctly configured"? | reddit.com/r/devops | 2022-11-23
  • terragrunt

    Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

    Project mention: Version 1 Terraform AWS OpenVPN Ephemeral Released! | dev.to | 2022-10-13

    Another thing I realized was that using local Terraform state and passing it around in CI/CD for GitLab and CircleCI was also completely unnecessary and can be efficiently changed by using Terragrunt. Terragrunt has a superior way than Terraform to set up a remote S3/DynamoDB backend for your Terraform State and Locks, and example terragrunt.hcl files are provided in the updated examples.

  • homelab

    Modern self-hosting infrastructure, fully automated from empty disk to operating services with a single command.

    Project mention: Managed to get these for free! | reddit.com/r/homelab | 2022-10-28


  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • atlantis

    Terraform Pull Request Automation

    Project mention: Cloudflare uses Terraform to manage Cloudflare | news.ycombinator.com | 2022-11-17

    I see why they run the apply before merging but in a very busy repo I can imagine 2 PRs potentially interfering. I guess the plan should give you a clue though. I had never heard of https://www.runatlantis.io/ which looks interesting.

  • tfsec

    Security scanner for your Terraform code

    Project mention: Atlantis vs. Terraform Cloud / Terraform Enterprise – Comparison | dev.to | 2022-09-14

    Flexibility is one of the core advantages of Atlantis, as it allows easy integration with other Terraform-helper tools(e.g., tfsec, checkov, Infracost, or Terratag). It can work with Terraform wrappers, such as Terragrunt, out of the box and even add some of Terragrunt’s features to vanilla Terraform – like before and after hooks for every execution stage (init, plan, apply, etc.).

  • terrascan

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

    Project mention: Testing Terraform Code | reddit.com/r/Terraform | 2022-11-09

    (https://runterrascan.io/) They seem to like it, don't have a ton of my own experience though.

  • terraform-provider-azurerm

    Terraform provider for Azure Resource Manager

    Project mention: Best online course to learn Terraform on Azure? | reddit.com/r/Terraform | 2022-11-25

    Load up the documentation for the CLI and the AzureRM provider.

  • tflint

    A Pluggable Terraform Linter

    Project mention: Terraform structure | reddit.com/r/Terraform | 2022-11-05

    Install terraform lint tool and run it against your module (https://github.com/terraform-linters/tflint). Your variables/outputs are missing description, inputs file could be changed to "data" to reflect what's inside, as well as change output file to outputs as this is a recommended naming convention.

  • wild-workouts-go-ddd-example

    Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

    Project mention: Question about storing everything in an application struct in a web app | reddit.com/r/golang | 2022-10-22

    You can take a look at this repository for more advanced patterns and separating the business/domain layer: https://github.com/ThreeDotsLabs/wild-workouts-go-ddd-example

  • terraform-docs

    Generate documentation from Terraform modules in various output formats

    Project mention: Automating release docs for ansible roles | reddit.com/r/ansible | 2022-10-28

    I am looking for a way to automate doc creation and updates for ansible roles. I recently discovered terraform-docs and I am curious if there is something similar for ansible.

  • coder

    Coder provisions software development environments via Terraform on Linux, macOS, Windows, X86, ARM, and of course, Kubernetes.

    Project mention: GitHub - coder/coder: Coder provisions software development environments via Terraform on Linux, macOS, Windows, X86, ARM, and of course, Kubernetes. | reddit.com/r/programmingtools | 2022-11-16
  • rover

    Interactive Terraform visualization. State and configuration explorer.

    Project mention: Terraform using Gitlab runners in GCP | reddit.com/r/Terraform | 2022-03-21

    Generally I rely on tf plan to see what will happen, there is a nice tool called Rover to visualize the plans, can help a bit with larger deployments.

  • driftctl

    Detect, track and alert on infrastructure drift

    Project mention: Monitor your terraform states ?? | reddit.com/r/Terraform | 2022-07-10

    I use driftctl running as a scheduled task as a GitHub action to monitor for state changes not matching config.

  • terraform-provider-google

    Terraform Google Cloud Platform provider

    Project mention: When will Terraform include support for GCP Datastream service ? It has been 1 year since its public release | reddit.com/r/Terraform | 2022-08-22

    There's an open issue in the gcp provider for exactly this. I'd recommend thumbs-upping it if you haven't already, as well as subscribing to notifications so you can see when there are updates.

  • terraform-inventory

    Terraform State → Ansible Dynamic Inventory

  • terraboard

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

    Project mention: Determine TF Version usage in all state files | reddit.com/r/Terraform | 2022-08-29

    We have looked at https://terraboard.io/, and are looking for any alternatives out there.

  • terracognita

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

    Project mention: terracognita - --tags syntax for aws? | reddit.com/r/Terraform | 2022-08-17

    https://github.com/cycloidio/terracognita/compare/master...fg-322 should fix it

  • terraform-provider-kubernetes

    Terraform Kubernetes provider

    Project mention: terraform-kubernetes-provider how to create secret from file? | reddit.com/r/codehunter | 2022-10-11

    I'm using the terraform kubernetes-provider and I'd like to translate something like this kubectl command into TF:

  • terraform-provider-libvirt

    Terraform provider to provision infrastructure with Linux's KVM using libvirt

    Project mention: libvirt-ocp4-provisioner - Provision an OCP 4.x.y cluster in minutes with Ansible, now with Single Node OCP support! . | reddit.com/r/redhat | 2022-11-06

    Hi guys!I wanted to allotment with you a tool to provision a fully working OCP 4.x.y cluster in minutes using Ansible for automation, libvirt as virtualization provider and terraform as VMs templating and creation tool. https://github.com/kubealex/libvirt-ocp4-provisioner It will take care of all the infrastructure provisioning and OCP machines provisioning, starting and completing the UPI installation of a cluster. (IPI work in progress ;) ) To give a quick overview, this project will allow you to provision a fully working OCP stable environment, consisting of: * Bastion machine provisioned with: * dnsmasq (with SELinux module, compiled and activated) * dhcp based on dnsmasq * nginx (for ignition files and rhcos pxe-boot) * pxeboot * Loadbalancer machine provisioned with: * haproxy * OCP Bootstrap machine * OCP Master(s) VM(s) * OCP Worker(s) VM(s) From latest release, it also supports installing SNO on a single host! It also takes care of preparing the host machine with needed packages, configuring: * dedicated libvirt network (fully customizable) * dedicated libvirt storage pool (fully customizable) * terraform * libvirt-terraform-provider ( compiled and initialized based‏‏‎‏‏‎‏‏‎‏‏‎­on https://github.com/dmacvicar/terraform-provider-libvirt) PXE is automatic, based on MAC binding to different OCP nodes role, so no need of choosing it from the menus, this means you can just run the playbook, take a beer and have your fully running OCP 4.9.latest stable up and running. It has been tested on Fedora 3x and CentOS 7/8. Playing around with it and contributions to make it work even on different OSes is more than welcome, hope you enjoy it! Alex

  • Zigi

    Close all those tabs. Zigi will handle your updates.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

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 2022-11-26.

Go Terraform related posts


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

Project Stars
1 terraform 35,256
2 terraformer 9,057
3 infracost 8,274
4 terraform-provider-aws 7,918
5 terratest 6,515
6 terragrunt 6,339
7 homelab 6,329
8 atlantis 5,524
9 tfsec 5,354
10 terrascan 3,733
11 terraform-provider-azurerm 3,694
12 tflint 3,492
13 wild-workouts-go-ddd-example 3,251
14 terraform-docs 3,152
15 coder 2,783
16 rover 2,266
17 driftctl 2,037
18 terraform-provider-google 1,848
19 terraform-inventory 1,697
20 terraboard 1,661
21 terracognita 1,355
22 terraform-provider-kubernetes 1,323
23 terraform-provider-libvirt 1,273
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.