Terraform best practices?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Terraform

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • terraform-docs

    Generate documentation from Terraform modules in various output formats

    Everything gets at least a minimal readme c/o terraform-docs

  • terraform-best-practices

    Terraform Best Practices for AWS users

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • checkov

    Prevent cloud misconfigurations during build-time for Terraform, CloudFormation, Kubernetes, Serverless framework and other infrastructure-as-code-languages with Checkov by Bridgecrew.

  • terraform-null-label

    Terraform Module to define a consistent naming convention by (namespace, stage, name, [attributes])

    Use terraform-null-label to help you name and tag correctly. See https://github.com/cloudposse/terraform-null-label/ for more details.

  • sops

    Simple and flexible tool for managing secrets

    I like using sops + terraform-provider-sops for storing secrets alongside my code in a GitOps fashion. That has been a great workflow for me and allows you to treat your secrets as code which has a lot of benefits.

  • terraform-provider-sops

    A Terraform provider for reading Mozilla sops files

    I like using sops + terraform-provider-sops for storing secrets alongside my code in a GitOps fashion. That has been a great workflow for me and allows you to treat your secrets as code which has a lot of benefits.

  • pre-commit-terraform

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

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

  • atlantis

    Terraform Pull Request Automation

    2nd and 3rd can be easier by using https://www.runatlantis.io/ product or via self-developed tooling (I did it this way).

  • terragrunt

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

    Take a look at Terragrunt, it's terraform on (light) steroids.

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