macOS
brew install terrahashlocal Homebrew formula metadata
brew
Create and store a hash of the Terraform modules used by your configuration. Version 0.1.0 via Homebrew; verified from local package data.
install
brew install terrahashlocal Homebrew formula metadata
overview
Create and store a hash of the Terraform modules used by your configuration
history
TerraHash is a small Terraform module-locking CLI that creates and checks hashes for modules used by a Terraform configuration.
The public GitHub repository was created in June 2024. Its README explicitly labels the project as early-stage software, while documenting the core behavior: evaluate initialized Terraform configuration, generate hashes for modules, and store them in a .terraform.module.lock.hcl file analogous to Terraform's provider lock file.
The tool's narrow purpose is supply-chain control for Terraform modules. It checks the lock file against current module hashes and version constraints, then reports changed hashes, changed versions, or missing modules.
Adoption appears niche and security-focused rather than broad. Repository metadata showed a small but visible public audience by July 2026, and Homebrew metadata lists a brew formula for the CLI.
The README describes three central commands: terrahash init to create a module lock file, terrahash check to validate current modules against it, and terrahash upgrade to update the lock file after approved changes.
The project is meant to run in CI so deployments can fail when Terraform module code or version constraints diverge from the approved lock file.
For package nerds, TerraHash is interesting because it fills a small gap in Terraform's lock-file story: Terraform has a provider lock file, while this tool experiments with a separate module lock file that can be installed as a simple CLI.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
terrahash | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ned1313/terrahash
install metadata
| Package key | brew:terrahash |
|---|---|
| Version | 0.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/terrahash |
| Homepage | https://github.com/ned1313/terrahash |
| Repository | https://github.com/ned1313/terrahash |
| Upstream docs | https://github.com/ned1313/terrahash#readme |
| License | MIT |
| Source archive | https://github.com/ned1313/terrahash/archive/refs/tags/v0.1.0.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | terrahash |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.