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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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