diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 8796c4b..faaf1a6 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -12,7 +12,7 @@ require_serial: true entry: terraform_docs.sh language: script - files: (\.tf)$ + files: (\.tf|\.terraform\.lock\.hcl)$ exclude: \.terraform\/.*$ - id: terraform_docs_without_aggregate_type_defaults