inspec
terraform-switcher
Our great sponsors
inspec | terraform-switcher | |
---|---|---|
13 | 9 | |
2,813 | 1,300 | |
1.0% | - | |
9.4 | 2.6 | |
about 7 hours ago | 2 days ago | |
Ruby | Go | |
GNU General Public License v3.0 or later | 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.
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
-
Why do you guys think testing is not a very prominent topic in the cloud native community ?
We are using Inspec to double check that the changes are indeed what we expect them to be. If anyone knows a better tool, please share
-
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).
- InSpec
- Checking compliance of controls? Job help
- Unit tests for hardened images
-
Automated Configuration Analysis?
If you need the monitoring for compliance reason, Chef InSpec was designed for this exact usecase.
- Compliance Scans for Images
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;
What are some alternatives?
terratest - Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
tfenv - Terraform version manager
goss - Quick and Easy server testing/validation
netmaker-gui - An alternate UI for Netmaker (https://github.com/gravitl/netmaker)
awspec - RSpec tests for your AWS resources.
terraform-ls - Terraform Language Server
checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
tflint - A Pluggable Terraform Linter
container-structure-test - validate the structure of your container images
aws-vault - A vault for securely storing and accessing AWS credentials in development environments
conftest - Write tests against structured configuration data using the Open Policy Agent Rego query language