2021-01-05 01:10:46 +00:00
|
|
|
repos:
|
2021-11-03 17:58:02 +00:00
|
|
|
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
2025-10-21 09:09:40 +00:00
|
|
|
rev: v1.103.0
|
2021-01-05 01:10:46 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: terraform_fmt
|
2025-10-01 14:13:12 +00:00
|
|
|
- id: terraform_wrapper_module_for_each
|
2021-01-05 01:10:46 +00:00
|
|
|
- id: terraform_docs
|
2021-11-03 17:58:02 +00:00
|
|
|
args:
|
|
|
|
|
- '--args=--lockfile=false'
|
|
|
|
|
- id: terraform_tflint
|
2021-11-17 13:04:41 +00:00
|
|
|
args:
|
|
|
|
|
- '--args=--only=terraform_deprecated_interpolation'
|
|
|
|
|
- '--args=--only=terraform_deprecated_index'
|
|
|
|
|
- '--args=--only=terraform_unused_declarations'
|
|
|
|
|
- '--args=--only=terraform_comment_syntax'
|
|
|
|
|
- '--args=--only=terraform_documented_outputs'
|
|
|
|
|
- '--args=--only=terraform_documented_variables'
|
|
|
|
|
- '--args=--only=terraform_typed_variables'
|
|
|
|
|
- '--args=--only=terraform_module_pinned_source'
|
|
|
|
|
- '--args=--only=terraform_naming_convention'
|
|
|
|
|
- '--args=--only=terraform_required_version'
|
|
|
|
|
- '--args=--only=terraform_required_providers'
|
|
|
|
|
- '--args=--only=terraform_standard_module_structure'
|
|
|
|
|
- '--args=--only=terraform_workspace_remote'
|
2024-03-06 19:14:39 +00:00
|
|
|
- id: terraform_validate
|
2021-11-03 17:58:02 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2025-09-16 14:28:55 +00:00
|
|
|
rev: v6.0.0
|
2021-01-05 01:10:46 +00:00
|
|
|
hooks:
|
2021-11-03 17:58:02 +00:00
|
|
|
- id: check-merge-conflict
|
|
|
|
|
- id: end-of-file-fixer
|
2024-03-06 19:14:39 +00:00
|
|
|
- id: trailing-whitespace
|