terratest
inspec
Our great sponsors
terratest | inspec | |
---|---|---|
46 | 13 | |
7,306 | 2,800 | |
0.7% | 0.9% | |
8.7 | 9.5 | |
8 days ago | 1 day ago | |
Go | Ruby | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
terratest
-
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?
Found this, https://terratest.gruntwork.io/
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.
-
How long have you guys actually had the title “platform engineer”? What other titles did you have before that, if any?
Once there is a CI pipeline for delivering infra changes you can add static code analysis tools (checkov) and even start testing changes (terratest)
-
Testing Terraform infra - terratest alternatives?
https://github.com/gruntwork-io/terratest/blob/master/test/azure/terraform_azure_example_test.go https://github.com/gruntwork-io/terratest/blob/master/examples/terraform-backend-example/main.tf
-
Breve guia de sobrevivência com Terraform
Terratest: Framework de testes para Terraform, os testes devem ser escritos em Golang.
- Alternative to InSpec: what do you use to "assert things have been correctly configured"?
-
Implement DevSecOps to Secure your CI/CD pipeline
Terratest can be used to test infrastructure in real-time.
- testing with terraform
inspec
- Testing Terraform infra - terratest alternatives?
-
Ruby: "the best" language for general automation
The course uses Chef Inspec, an open source Ruby DSL. I made a POC with this tool to automatically check repositories on GitHub, checks like if it contains a gitignore consistent with the language used, if node_modules is not present, etc.
- what tool do you use for validating hardening settings have been applied. this is for security and hardening purposes. for example, ensure that admin username is not default username, password is at least 12 characters with upper, lower and special characters, https is enabled etc
-
Is there any kind of Pester Server for infrastructure tests?
https://github.com/inspec/inspec Chef Inspec is probably a great tool for what you’re trying to do. Great at building human readable test cases for validation of infrastructure deployments. At a different org I used to use PoSh, Terraform and Ansible etc. for deploying on-prem and cloud infrastructure and then Inspec for testing for successful deployments, security misconfigurations (is a port open that shouldn’t be etc).
- Checking compliance of controls? Job help
-
Unit tests for hardened images
I gave it a read and nothing really stood out as being unreasonable unless you can point to specifics. Inspec is open source.
You can use something like inspec to do this.
-
Automated Configuration Analysis?
If you need the monitoring for compliance reason, Chef InSpec was designed for this exact usecase.
-
Terraforming in 2021 – new features, testing and compliance
Before we dive into own cloud provider compliance checking services, we want to highlight yet another open source tool, namely InSpec. It allows you to write tests in ruby, and was built on top of RSpec. If you know already awsspec, then this should feel very similar, with the advantage that InSpec also supports GCP and Azure.
What are some alternatives?
checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
driftctl - Detect, track and alert on infrastructure drift
terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.
tflint - A Pluggable Terraform Linter
goss - Quick and Easy server testing/validation
atlantis - Terraform Pull Request Automation
conftest - Write tests against structured configuration data using the Open Policy Agent Rego query language
terrascan - Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure. [Moved to: https://github.com/accurics/terrascan]
awspec - RSpec tests for your AWS resources.
terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline