Any Terra (AT) is a simple CLI tool that ensures you always run the correct version of Terraform, and soon OpenTofu, based on the required_version
specified in your Terraform configuration file.
This tool is inspired by anyzig.
- Automatically detects the required Terraform version from the
required_version
field interraform.tf
orterraform.hcl
files. - Downloads and caches the correct Terraform version if it's not already available locally.
- Works with conventional Terraform version constraints to resolve the appropriate executable.
- Introduction of support for OpenTofu with similar functionality, ensuring compatibility and ease of use across different infrastructure management tools.
To install Any Terra, visit releases page.
# Automatically determines and runs the required Terraform version for the current project
at plan [args]