diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57414b5..0dd4e19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,23 +1,23 @@ + repos: - repo: https://github.com/antonbabenko/pre-commit-terraform rev: v1.96.1 hooks: - id: terraform_fmt entry: hooks/terraform_fmt.sh - language: script - # additional_dependencies: ['hashicorp/terraform'] + language: system # Changed from 'script' to 'system' #- id: terraform_validate - id: terraform_docs entry: hooks/terraform_docs.sh language: script - # additional_dependencies: ['terraform-docs/terraform-docs'] + additional_dependencies: ['terraform-docs/terraform-docs'] args: - '--args=--lockfile=false' - id: terraform_tflint language: script require_serial: true entry: hooks/terraform_tflint.sh - # additional_dependencies: ['terraform-linters/tflint'] + additional_dependencies: ['terraform-linters/tflint'] args: - '--args=--only=terraform_deprecated_interpolation' - '--args=--only=terraform_deprecated_index'