Automic VaultAutomic Vault

brew

Install terraform-cleaner with Homebrew

Tiny utility which detects unused variables in your terraform modules. Version 0.0.4 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install terraform-cleaner

local Homebrew formula metadata

overview

Package summary

Tiny utility which detects unused variables in your terraform modules

Commands and aliases

  • terraform-cleaner

history

Project history and usage

terraform-cleaner is a small Go CLI for detecting unused variables in Terraform modules. Its public history is short and narrowly scoped, but official repository and release metadata are sufficient to describe it as a focused Terraform hygiene utility.

Project history

The repository was created in March 2023. Its README describes it as a tiny utility for finding unused variables in Terraform modules and points users to GitHub releases for platform binaries.

The complete release history is compact: v0.0.1 included the first working version and GoReleaser setup, v0.0.2 adjusted unused-flag display behavior, v0.0.3 added display of locals and unused locals, and v0.0.4 fixed help messages and added an asciinema demo to the README.

Adoption history

The input package facts show Homebrew packaging, and the README documents binary downloads from the GitHub releases page. There is no official evidence of a large ecosystem around the tool; its adoption appears to be the usual package-manager exposure for a small Terraform developer utility.

How it is used

The README keeps usage deliberately minimal: download a platform binary from releases and run the tool against Terraform modules to find unused variables. It also documents pre-commit hook installation, suggesting use as part of a local Terraform cleanup workflow.

Why package nerds care

terraform-cleaner matters in the package-nerd niche as a small, single-purpose IaC linting helper. It is the kind of utility package maintainers include because it automates one annoying Terraform maintenance check without introducing a larger framework.

Timeline

  • 2023: GitHub repository created.
  • 2023: v0.0.1 released with the first working version and GoReleaser setup.
  • 2023: v0.0.3 added display of locals and unused locals.
  • 2023: v0.0.4 fixed help messages and updated the README with an asciinema demo.

Related projects

  • terraform-cleaner belongs to the Terraform linting and cleanup tool family, adjacent to Terraform module maintenance workflows and pre-commit usage.
  • It is much narrower than TerraCognita: TerraCognita imports existing infrastructure into Terraform, while terraform-cleaner checks module source for unused variables.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
terraform-cleanercliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.0.4
manager updated
local dataok
upstreamcurrent
latest detectedv0.0.4

https://github.com/sylwit/terraform-cleaner

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:terraform-cleaner
Version0.0.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/terraform-cleaner
Homepagehttps://github.com/sylwit/terraform-cleaner
Repositoryhttps://github.com/sylwit/terraform-cleaner
Upstream docshttps://github.com/sylwit/terraform-cleaner#readme
LicenseMIT
Source archivehttps://github.com/sylwit/terraform-cleaner/archive/refs/tags/v0.0.4.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterraform-cleaner
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment