terratest
tfenv
Our great sponsors
terratest | tfenv | |
---|---|---|
46 | 22 | |
7,306 | 4,273 | |
0.7% | 1.8% | |
8.7 | 5.8 | |
8 days ago | 18 days ago | |
Go | Shell | |
Apache License 2.0 | MIT License |
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
tfenv
-
tfenv VS tenv - a user suggested alternative
2 projects | 24 Jan 2024
-
How do i keep my "devops tool" always up to date in a smart way ?
For example terraform state files often have non backwards compatible changes. You should consider using something like tfenv so everyone on your team has identical versions of terraform.
-
Exploring GCP With Terraform: Setting Up The Environment And Project
I'm using the tool tfenv to manage Terraform versions. Other tools can do that. You can use asdf, too. I saw that asdf can do more than manage Terraform versions.
-
Docker vs Podman: ¡Todo lo que necesitas saber!
Documentacion TFENV
- Terraform Version Manangement
-
Install Terraform with tfenv
git clone https://github.com/tfutils/tfenv.git ~/.tfenv export PATH="$HOME/.tfenv/bin:$PATH" # install to appropriate shell startup file, e.g. $HOME/.bashrc echo 'export PATH="$HOME/.tfenv/bin:$PATH"' >> ~/.profile
- Help needed installing an old version of terraform
-
Extending Terraform functionality with a custom data source - part 1
You, of course, will need to install Terraform. If you haven't tried tfenv, it is a straightforward way to manage different versions of Terraform on your local machine.
-
Determine TF Version usage in all state files
We use tfenv and kept a version file to peg each root module at the current version. Then as we upgraded we just edited the .terraform-version file with the new version. The nice thing is that inside the root module terraform is automatically the correct version.
-
Deploying Go application on AWS with terraform
Tip: For more real project usage it’s more convenient to use https://github.com/tfutils/tfenv, as it can manage multiple versions of Terraform for many projects.
What are some alternatives?
terraform-switcher - A command line tool to switch between different versions of terraform (install with homebrew and more)
inspec - InSpec: Auditing and Testing Framework
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
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]
terraform-ls - Terraform Language Server
terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform