Terraform best practices?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • 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

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

  • checkov

    Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages 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 🇺🇦

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

  • 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