terraform-switcher
terratest
Our great sponsors
terraform-switcher | terratest | |
---|---|---|
9 | 46 | |
1,295 | 7,324 | |
- | 0.7% | |
2.6 | 8.7 | |
4 days ago | 29 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
terraform-switcher
-
Top Terraform Tools to Know in 2024
TFSwitch is a CLI tool that allows easy switching between different Terraform versions, simplifying workflows in environments where multiple Terraform versions are used.
- Breve guia de sobrevivência com Terraform
-
Asdf – the language tool version manager
tfswitch might help with particular issue of terraform versioning:
https://tfswitch.warrensbox.com/
Even then some versions of terraform providers are not compatible with M1 macs. Docker would help with that probably, but so can: https://github.com/kreuzwerker/m1-terraform-provider-helper
Perhaps these sort of issues support the benefits of per-module docker images?
-
Best strategy to upgrade Terraform code?
My approach is to change the version in the version.tf file, install the new version using tfswitch (https://tfswitch.warrensbox.com/) and execute a plan. If infrastructure matches the configuration I will asume there are no breaking changes...
-
New Lifecycle Options and Refactoring Capabilities in Terraform 1.1 and 1.2
Also, an excellent tool can help with fast switching between different Terraform versions while you’re experimenting — tfswitch.
- Managing multiple terraform versions across modules
-
Local credentials and MFA
https://tfswitch.warrensbox.com/ for switching between Terraform versions
-
VSCode plugin very slow at terraform fmt on save
It was easy. I didn't use terraform-version files like you, but there are similar ways to automatically switch versions. https://github.com/warrensbox/terraform-switcher
-
Terraforming in 2021 – new features, testing and compliance
Terraform Switcher - yet another project essentially doing the same written in go;
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?
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.
-
terratest for infrastructure
Was wondering if anyone has tried https://github.com/gruntwork-io/terratest to test their infrastructure. I like it because I can write golang tests! Thats a big plus for me.
- Is there a testing framework for Kubernetes and AWS resources?
-
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
-
Appreciation for terraform
Another plus is to add tests into your workflow, just by adding a run step with terratest
-
Breve guia de sobrevivência com Terraform
Terratest: Framework de testes para Terraform, os testes devem ser escritos em Golang.
What are some alternatives?
tfenv - Terraform version manager
inspec - InSpec: Auditing and Testing Framework
netmaker-gui - An alternate UI for Netmaker (https://github.com/gravitl/netmaker)
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-ls - Terraform Language Server
driftctl - Detect, track and alert on infrastructure drift
tflint - A Pluggable Terraform Linter
terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.
aws-vault - A vault for securely storing and accessing AWS credentials in development environments
atlantis - Terraform Pull Request Automation