Terraform Test Frameworks

Compare 21 terraform test frameworks tools to find the right one for your needs

🔧 Tools

Compare and find the best terraform test frameworks for your needs

Scalr

The Terraform Automation and Collaboration Platform.

A Terraform automation platform that provides a hierarchical structure for managing environments, credentials, and variables.

View tool details →

env0

The complete Infrastructure as Code Platform.

An automation platform for IaC that enables self-service, governance, and cost management for Terraform and Terragrunt.

View tool details →

Spacelift

The most flexible CI/CD for Infrastructure as Code.

A specialized CI/CD and management platform for Terraform, Pulumi, and other IaC tools, with a focus on policy and collaboration.

View tool details →

Infracost

Cloud cost estimates for Terraform in pull requests.

A CLI tool and API that shows cloud cost estimates for Terraform projects, helping developers see the cost impact of their changes.

View tool details →

Open Policy Agent (OPA)

Policy-based control for cloud native environments.

An open-source, general-purpose policy engine that can be used to enforce policies on Terraform plans.

View tool details →

Snyk IaC

Find and fix security issues in your Terraform, CloudFormation, Kubernetes & ARM templates.

A developer-focused security tool that scans IaC files for misconfigurations and provides context and remediation advice.

View tool details →

Terraform Cloud

Automate your infrastructure on any cloud.

The official managed service from HashiCorp for running Terraform, providing collaboration, governance, and automation features.

View tool details →

tfsec

Security scanner for your Terraform code.

An open-source static analysis tool that checks Terraform code for security misconfigurations and compliance violations.

View tool details →

Terrascan

Detect compliance and security violations across Infrastructure as Code to mitigate risk.

An open-source static code analyzer for IaC that helps detect security vulnerabilities and compliance violations.

View tool details →

Checkov

Prevent cloud misconfigurations during build time.

An open-source static analysis tool for scanning infrastructure as code (IaC) files for misconfigurations.

View tool details →

KICS

Keeping Infrastructure as Code Secure

An open-source static analysis tool from Checkmarx that scans IaC for security vulnerabilities, compliance issues, and misconfigurations.

View tool details →

Terratest

Test your infrastructure code.

A Go library that provides patterns and helper functions for testing infrastructure, with first-class support for Terraform.

View tool details →

tflint

A Pluggable Terraform Linter.

A linter for Terraform that focuses on checking for potential errors, best practices, and enforcing conventions.

View tool details →

Atlantis

Terraform Automation By Pull Request

An open-source, self-hosted application for automating Terraform via pull requests, enabling a GitOps workflow.

View tool details →

Terragrunt

A thin wrapper for Terraform that provides extra tools for keeping your configurations DRY, working with multiple Terraform modules, and managing remote state.

A CLI tool that acts as a thin wrapper on Terraform to help manage complex projects by keeping code DRY and managing remote state.

View tool details →

driftctl

The open-source tool for infrastructure drift detection.

A CLI tool that scans cloud environments, compares them to your IaC state, and reports any unmanaged resources or drift.

View tool details →

Regula

Check infrastructure as code for security and compliance.

An open-source tool that evaluates Terraform and CloudFormation for security misconfigurations and compliance with standards like CIS.

View tool details →

conftest

Write tests against structured configuration data.

A utility that uses the Rego language from Open Policy Agent to write tests against configuration files, including Terraform.

View tool details →

kitchen-terraform

Test Kitchen plugins for testing Terraform configurations.

A set of plugins for the Test Kitchen framework that enables integration and acceptance testing of Terraform code.

View tool details →

Terratag

A CLI tool to manage tags on Terraform resources.

An open-source CLI tool from env0 that helps manage and apply tags to all resources within a Terraform project.

View tool details →

Yor

Automated IaC tagging for traceability.

An open-source tool that automatically adds tags to IaC files, enriching them with context like git repository and commit details.

View tool details →