terrahash
« Back to VersTracker
Description:
Create and store a hash of the Terraform modules used by your configuration
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: terraform hashing devops infrastructure security
Install: brew install terrahash
About:
Terrahash generates a deterministic hash based on the source code of Terraform modules referenced in your configuration. This hash can be stored to track changes in your infrastructure dependencies over time. It helps teams ensure reproducibility and detect unauthorized modifications to third-party modules.
Key Features:
  • Deterministic hashing of Terraform module sources
  • Support for local and remote module sources
  • Simple CLI interface for integration into workflows
  • Output suitable for version control or auditing
Use Cases:
  • Auditing infrastructure changes by tracking module versions
  • Ensuring reproducible builds by locking module states
  • Detecting drift in external dependencies
Alternatives:
  • tfenv – tfenv manages Terraform CLI versions, whereas Terrahash tracks the content of specific modules.
  • terragrunt – Terragrunt handles configuration wrappers and remote state, while Terrahash focuses specifically on content hashing for change detection.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 4:38am 0 VERSION_BUMP 328cd84e
Nov 10, 2024 3:04pm 0 VERSION_BUMP 96ed30f7
Sep 12, 2024 10:51pm 0 VERSION_BUMP 795783ba