-
Notifications
You must be signed in to change notification settings - Fork 6
/
.pre-commit-config.yaml
43 lines (43 loc) · 1.53 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
repos:
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.17 # Get the latest from: https://github.com/gruntwork-io/pre-commit/releases
hooks:
# deploy/infrastructure
- id: tflint
name: tflint deploy/infrastructure
files: ^deploy/infrastructure/(.*).tf$
exclude: \.+.terraform\/.*$
- id: terraform-fmt
name: terraform fmt deploy/infrastructure
files: ^deploy/infrastructure/(.*).tf$
exclude: \.+.terraform\/.*$
- id: terraform-validate
name: terraform validate deploy/infrastructure
files: ^deploy/infrastructure/(.*).tf$
exclude: \.+.terraform\/.*$
# deploy/meltano
- id: tflint
name: tflint deploy/meltano
files: ^deploy/meltano/(.*).tf$
exclude: \.+.terraform\/.*$
- id: terraform-fmt
name: terraform fmt deploy/meltano
files: ^deploy/meltano/(.*).tf$
exclude: \.+.terraform\/.*$
- id: terraform-validate
name: terraform validate deploy/meltano
files: ^deploy/meltano/(.*).tf$
exclude: \.+.terraform\/.*$
# deploy/modules/client_vpn
- id: tflint
name: tflint deploy/modules/client_vpn
files: ^deploy/modules/client_vpn/(.*).tf$
exclude: \.+.terraform\/.*$
- id: terraform-fmt
name: terraform fmt deploy/modules/client_vpn
files: ^deploy/modules/client_vpn/(.*).tf$
exclude: \.+.terraform\/.*$
- id: terraform-validate
name: terraform validate deploy/modules/client_vpn
files: ^deploy/modules/client_vpn/(.*).tf$
exclude: \.+.terraform\/.*$