# terraform-cleaner

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)

Tiny utility which detects unused variables in your terraform modules

[![asciicast](https://asciinema.org/a/vwSJkNc9SSQ75uSMH6W1ffbmm.svg)](https://asciinema.org/a/vwSJkNc9SSQ75uSMH6W1ffbmm)


# How to use it ?

Simply download the binary for your platform from the [releases page](https://github.com/sylwit/terraform-cleaner/releases/)


# Pre-commit

```shell
pre-commit install --hook-type pre-commit --hook-type commit-msg
```
