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
|
2023-08-30 23:59:28 +00:00
|
|
|
rev: v1.83.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
|
2023-06-09 11:30:52 +00:00
|
|
|
rev: v4.4.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
|