-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-hooks.yaml
40 lines (36 loc) · 1.29 KB
/
.pre-commit-hooks.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
---
# This file tells https://pre-commit.com/
# which hooks are provided by this repo
# for use by other git repos.
- id: terraformstackmoduleoutputs
name: Create terraform stack modules outputs
description: Add computed module outputs using terraform-config-inspect to a stack.
entry: createstackmoduleoutputs.rb
language: ruby
pass_filenames: false
files: (\.tf|\.tfvars|\.tf\.json|\.tfvars\.json)$
exclude: \.terraform\/.*$
- id: terraformcreatei2o
name: Create terraform module inputs2outputs
description: Add module inputs as outputs to the module.
entry: hooks/createi2o.sh
language: script
pass_filenames: false
files: (\.tf|\.tfvars|\.tf\.json|\.tfvars\.json)$
exclude: \.terraform\/.*$
- id: terraformcreatel2o
name: Create terraform module locals2outputs
description: Add module locals as outputs to the module.
entry: hooks/createl2o.sh
language: script
pass_filenames: false
files: (main.tf)$
exclude: \.terraform\/.*$
- id: terraformcreatebpmoduleoutputs
name: Create terraform blueprint fixture module outputs
description: Add computed blueprint module outputs using terraform-config-inspect.
entry: hooks/createbpmoduleoutputs.sh
language: script
pass_filenames: false
files: (\.tf|\.tfvars|\.tf\.json|\.tfvars\.json)$
exclude: \.terraform\/.*$