-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
29 lines (28 loc) · 1.01 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.88.2
hooks:
- id: terraform_fmt
- id: terraform_docs
args:
- --hook-config=--path-to-file=README.md
- --hook-config=--add-to-existing-file=true
- --hook-config=--create-file-if-not-exist=true
- id: terraform_tflint
args:
- --args=--enable-plugin=aws
- --args=--disable-rule=aws_route53_record_invalid_health_check_id
- --args=--disable-rule=aws_route53_record_invalid_name
- --args=--disable-rule=aws_route53_record_invalid_set_identifier
- --args=--disable-rule=aws_route53_record_invalid_type
- --args=--disable-rule=aws_route53_record_invalid_zone_id
- id: terraform_providers_lock
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace