checkov
Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew. (by bridgecrewio)
terratest
Terratest is a Go library that makes it easier to write automated tests for your infrastructure code. (by gruntwork-io)
| checkov | terratest | |
|---|---|---|
| 72 | 53 | |
| 8,782 | 7,923 | |
| 1.2% | 0.3% | |
| 9.4 | 9.3 | |
| 1 day ago | 11 days ago | |
| Python | Go | |
| Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
checkov
Posts with mentions or reviews of checkov.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2026-04-24.
- [PT-BR] Guia de Módulo OpenTofu AWS EC2: Requisitos, Testes e Estratégia BDD
- Checkov Scan para Terraform com Azure Pipelines
-
5 Best Ansible Playbook Scanning Tools in 2026 for Secure and Scalable Automation
GitHub: bridgecrewio/checkov
-
Specs = Tests: Why Spec-Driven Terraform Starts With Tests, Not Documents
Policy-as-code as the spec layer. Tools like OPA (Open Policy Agent), Checkov, and HashiCorp Sentinel let you write rules that are both human-readable and machine-enforceable. A Rego policy that says deny[msg] { not input.resource.aws_s3_bucket.encryption } is simultaneously your spec and your test. That's the Specs = Tests convergence in practice. Static analysis tools like tflint and Trivy add another enforcement layer — catching misconfigurations and security issues before anything gets planned or applied.
- IaC Security in 2026: Terraform, Checkov, and Cloud Drift Detection
-
Building a Production-Multi-Cloud DevOps Platform: A Complete Journey from Zero to Hero
Documentation Files Setup Guide Deployment Guide Access Guide Cost Optimization Monitoring Setup Technologies Used FastAPI Documentation Terraform AWS Provider Terraform Azure Provider Helm Documentation Kubernetes Documentation Prometheus Documentation Grafana Documentation Tools & Security Trivy Scanner Checkov IaC Scanner GitHub Actions Connect With Me I’d love to hear your feedback, questions, or suggestions!
-
Managing Terraform Modules with Nx Monorepo
checkov - Security and compliance scanning
-
Managing Sensitive Information in Terraform and Azure
Checkov - IaC Security
-
Ditched Terraform for OpenTofu. Why Devs Everywhere Are Making the Same Move (cheatsheet included)
Checkov https://www.checkov.io A static analysis tool to scan infrastructure code for misconfigs, secrets, and best practice violations.
-
Custom Security Checks for AWS Cloud Control Provider with Checkov
PR #6647
terratest
Posts with mentions or reviews of terratest.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2026-04-21.
-
Terratest: Automated Integration Testing for Terraform Infrastructure
terraform validate checks syntax. terraform plan previews changes. Neither tells you whether the infrastructure you deploy actually works. Terratest fills that gap by deploying real infrastructure, running assertions against it, then destroying it — all from Go's standard testing package.
-
Specs = Tests: Why Spec-Driven Terraform Starts With Tests, Not Documents
Terratest for integration and behavioral tests. When you need to verify that a deployed VNet actually has the right peering connections, or that an AKS cluster's network policy blocks cross-namespace traffic, Terratest with Go gives you the assertion power you need. Yes, it's a language switch. If your team prefers Python or BDD-style specs, terraform-compliance lets you write Gherkin-syntax tests like Then it must have encryption enabled — which is arguably the closest thing to "specs that are literally tests." Pick the tool that fits your team; the principle stays the same.
-
Why Helm Chart Testing Matters (And How to Choose Your Tools)
Terratest is a Go-based testing framework from Gruntwork that includes first-class Helm support. Unlike helm-unittest, Terratest deploys charts to real clusters and allows programmatic assertions in Go.
-
Pulumi vs. Terraform: Choosing the Best Infrastructure as Code Solution
Terraform provides a built-in testing framework to validate your project. The testing framework supports both unit and integration tests. It handles unit tests by creating a deployment plan and running the tests against that plan. While Terraform's testing framework allows you to validate basic properties, you may need to write more advanced tests to verify your virtual machines are set up correctly. You can create advanced tests using open source testing tools like Terratest and Kitchen-Terraform.
-
Building Reusable Infrastructure with Terraform Modules
Before using a module in production, make sure to test it in isolated environments. You can use tools like Terratest to write automated tests for your modules. This ensures they work as expected in different scenarios.
-
What is Terratest and How to Use it
The Terratest Go library leverages this to define a variety of test cases used to test Docker images, cloud infrastructure defined for AWS, Azure, GCP, Kubernetes, and many more.
-
Top Terraform Tools to Know in 2024
Terratest is a Go library that provides tools and patterns for testing infrastructure, with first-class support for Terraform, Packer, Docker, Kubernetes, and more. It's used to write automated tests for your infrastructure code.
-
Saw a not-so-good thing in my pipeline. How do we fix it?
I think I found it. This is the one right? https://github.com/gruntwork-io/terratest/
-
terracove - open-source to instantly test the health of your terraform/terragrunt repository
What it does in parallel is basically init/plan/show using terratest on every subdirectory on your repository tree or provided paths. The output is either a JSON summary or a custom made Junit XML test file you can ingest into your tests reader. It took it around 8 minutes to map the entirety of our bloated repository.
-
Trunk Based Development: Confused about how to test code before pushing to main? How does the deploy process work for many environments?
You could deploy to a separate account (usually dev first), you can use terratest, you could try something like LocalStack. I dare say there’s other methods.
What are some alternatives?
When comparing checkov and terratest you can also consider the following projects:
trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
terragrunt - Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.
tflint - A Pluggable Terraform Linter
inspec - InSpec: Auditing and Testing Framework
kics - Find security vulnerabilities, compliance issues, and infrastructure misconfigurations early in the development cycle of your infrastructure-as-code with KICS by Checkmarx.