Awesome
terraform-cleaner
Tiny utility which detects unused variables in your terraform modules
How to use it ?
Simply download the binary for your platform from the releases page
Pre-commit
pre-commit install --hook-type pre-commit --hook-type commit-msg