Terraform Best Practices for Better Infrastructure Management

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • Blog-Technical-Content

    Technical content from the Spacelift blog articles.

    Our primary entry point is main.tf, and in simple use cases, we can add all our resources there. We define our variables in variables.tf and assign values to them in terraform.tfvars. We use the file outputs.tf to declare output values. You can find a similar example project structure here.

  • tflint

    A Pluggable Terraform Linter

    tflint – Terraform linter for errors that the plan can’t catch.

  • SonarQube

    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.

  • tfenv

    Terraform version manager

    tfenv – Terraform version manager

  • checkov

    Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.

    checkov – Terraform static analysis tool

  • terratest

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

    terratest – Go library that helps you with automated tests for Terraform

  • pre-commit-terraform

    pre-commit git hooks to take care of Terraform configurations 🇺🇦

    pre-commit-terraform – Pre-commit git hooks for automation

  • terraform-docs

    Generate documentation from Terraform modules in various output formats

    terraform-docs – Quickly generate docs from modules

  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

  • atlantis

    Terraform Pull Request Automation

    atlantis – Workflow for collaborating on Terraform projects

  • terraform-cost-estimation

    Anonymized, secure, and free Terraform cost estimation based on Terraform plan (0.12+) or Terraform state (any version)

    terraform-cost-estimation – Free cost estimation service for your plans. Check out also this list that includes a lot more awesome terraform tools.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts