|
5 | 5 | language: script
|
6 | 6 | require_serial: true
|
7 | 7 | files: \.(tf(vars)?|hcl)$
|
8 |
| - exclude: \.terraform\/.*$ |
| 8 | + exclude: \.terraform/.*$ |
9 | 9 |
|
10 | 10 | - id: terraform_fmt
|
11 | 11 | name: Terraform fmt
|
12 | 12 | description: Rewrites all Terraform configuration files to a canonical format.
|
13 | 13 | entry: hooks/terraform_fmt.sh
|
14 | 14 | language: script
|
15 | 15 | files: (\.tf|\.tfvars)$
|
16 |
| - exclude: \.terraform\/.*$ |
| 16 | + exclude: \.terraform/.*$ |
17 | 17 |
|
18 | 18 | - id: terraform_docs
|
19 | 19 | name: Terraform docs
|
|
22 | 22 | entry: hooks/terraform_docs.sh
|
23 | 23 | language: script
|
24 | 24 | files: (\.tf|\.terraform\.lock\.hcl)$
|
25 |
| - exclude: \.terraform\/.*$ |
| 25 | + exclude: \.terraform/.*$ |
26 | 26 |
|
27 | 27 | - id: terraform_docs_without_aggregate_type_defaults
|
28 | 28 | name: Terraform docs (without aggregate type defaults)
|
|
31 | 31 | entry: hooks/terraform_docs.sh
|
32 | 32 | language: script
|
33 | 33 | files: (\.tf)$
|
34 |
| - exclude: \.terraform\/.*$ |
| 34 | + exclude: \.terraform/.*$ |
35 | 35 |
|
36 | 36 | - id: terraform_docs_replace
|
37 | 37 | name: Terraform docs (overwrite README.md)
|
|
40 | 40 | entry: terraform_docs_replace
|
41 | 41 | language: python
|
42 | 42 | files: (\.tf)$
|
43 |
| - exclude: \.terraform\/.*$ |
| 43 | + exclude: \.terraform/.*$ |
44 | 44 |
|
45 | 45 | - id: terraform_validate
|
46 | 46 | name: Terraform validate
|
|
49 | 49 | entry: hooks/terraform_validate.sh
|
50 | 50 | language: script
|
51 | 51 | files: (\.tf|\.tfvars)$
|
52 |
| - exclude: \.terraform\/.*$ |
| 52 | + exclude: \.terraform/.*$ |
53 | 53 |
|
54 | 54 | - id: terraform_providers_lock
|
55 | 55 | name: Lock terraform provider versions
|
|
58 | 58 | entry: hooks/terraform_providers_lock.sh
|
59 | 59 | language: script
|
60 | 60 | files: (\.terraform\.lock\.hcl)$
|
61 |
| - exclude: \.terraform\/.*$ |
| 61 | + exclude: \.terraform/.*$ |
62 | 62 |
|
63 | 63 | - id: terraform_tflint
|
64 | 64 | name: Terraform validate with tflint
|
|
67 | 67 | entry: hooks/terraform_tflint.sh
|
68 | 68 | language: script
|
69 | 69 | files: (\.tf|\.tfvars)$
|
70 |
| - exclude: \.terraform\/.*$ |
| 70 | + exclude: \.terraform/.*$ |
71 | 71 |
|
72 | 72 | - id: terragrunt_fmt
|
73 | 73 | name: Terragrunt fmt
|
74 | 74 | description: Rewrites all Terragrunt configuration files to a canonical format.
|
75 | 75 | entry: hooks/terragrunt_fmt.sh
|
76 | 76 | language: script
|
77 | 77 | files: (\.hcl)$
|
78 |
| - exclude: \.terraform\/.*$ |
| 78 | + exclude: \.terraform/.*$ |
79 | 79 |
|
80 | 80 | - id: terragrunt_validate
|
81 | 81 | name: Terragrunt validate
|
82 | 82 | description: Validates all Terragrunt configuration files.
|
83 | 83 | entry: hooks/terragrunt_validate.sh
|
84 | 84 | language: script
|
85 | 85 | files: (\.hcl)$
|
86 |
| - exclude: \.terraform\/.*$ |
| 86 | + exclude: \.terraform/.*$ |
87 | 87 |
|
88 | 88 | - id: terraform_tfsec
|
89 | 89 | name: Terraform validate with tfsec (deprecated, use "terraform_trivy")
|
|
109 | 109 | pass_filenames: false
|
110 | 110 | always_run: false
|
111 | 111 | files: \.tf$
|
112 |
| - exclude: \.terraform\/.*$ |
| 112 | + exclude: \.terraform/.*$ |
113 | 113 | require_serial: true
|
114 | 114 |
|
115 | 115 | - id: terraform_checkov
|
|
119 | 119 | language: script
|
120 | 120 | always_run: false
|
121 | 121 | files: \.tf$
|
122 |
| - exclude: \.terraform\/.*$ |
| 122 | + exclude: \.terraform/.*$ |
123 | 123 | require_serial: true
|
124 | 124 |
|
125 | 125 | - id: terraform_wrapper_module_for_each
|
|
131 | 131 | always_run: false
|
132 | 132 | require_serial: true
|
133 | 133 | files: \.tf$
|
134 |
| - exclude: \.terraform\/.*$ |
| 134 | + exclude: \.terraform/.*$ |
135 | 135 |
|
136 | 136 | - id: terrascan
|
137 | 137 | name: terrascan
|
138 | 138 | description: Runs terrascan on Terraform templates.
|
139 | 139 | language: script
|
140 | 140 | entry: hooks/terrascan.sh
|
141 | 141 | files: \.tf$
|
142 |
| - exclude: \.terraform\/.*$ |
| 142 | + exclude: \.terraform/.*$ |
143 | 143 | require_serial: true
|
144 | 144 |
|
145 | 145 | - id: tfupdate
|
|
0 commit comments