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
|
2022-10-27 19:08:36 +00:00
|
|
|
rev: v1.76.0
|
2021-01-05 01:10:46 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: terraform_fmt
|
2021-11-17 13:04:41 +00:00
|
|
|
- id: terraform_validate
|
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'
|
2021-11-03 17:58:02 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-08-10 18:34:48 +00:00
|
|
|
rev: v4.3.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
|