forked from lablabs/terraform-aws-eks-external-dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
37 lines (33 loc) · 963 Bytes
/
.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
30
31
32
33
34
35
36
37
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- id: detect-private-key
- id: end-of-file-fixer
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.12
hooks:
- id: tflint
- id: terraform-validate
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.47.0
hooks:
- id: terraform_fmt
- id: terraform_tflint
# - id: terraform_tfsec
- id: terraform_docs
args:
- '--args=--hide providers --sort-by required'
- repo: git://github.com/pecigonzalo/pre-commit-terraform-vars
rev: v1.0.0
hooks:
- id: terraform-vars
- repo: https://github.com/Yelp/detect-secrets
rev: v0.14.3
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']