File tree 2 files changed +20
-6
lines changed
modules/service-ip-ranges
2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change
1
+ default_install_hook_types :
2
+ - pre-commit
3
+ - commit-msg
4
+
1
5
repos :
2
6
- repo : https://github.com/antonbabenko/pre-commit-terraform
3
7
rev : v1.97.4
4
8
hooks :
5
9
- id : terraform_fmt
10
+ name : (terraform) Format .tf files with `terraform fmt`
6
11
args :
7
12
- --args=-diff
8
13
- id : terraform_validate
14
+ name : (terraform) Check with `terraform validate`
9
15
args :
10
- - --tf-init-args=-upgrade
11
16
- --hook-config=--retry-once-with-cleanup=true
12
- - id : terraform_providers_lock
13
- args :
14
- - --hook-config=--mode=always-regenerate-lockfile
17
+ - --tf-init-args=-upgrade
15
18
- id : terraform_tflint
19
+ name : (terraform) Check with `tflint`
16
20
args :
17
21
- --args=--config=__GIT_WORKING_DIR__/.tflint.hcl
18
22
files : ^modules/
19
23
- id : terraform_docs
24
+ name : (terraform) Generate docs with `terraform-docs`
20
25
args : ["--args=--sort-by required"]
21
26
22
27
- repo : https://github.com/adrienverge/yamllint
23
28
rev : v1.36.2
24
29
hooks :
25
30
- id : yamllint
31
+ name : (yaml) Check with `yamllint`
32
+
33
+ - repo : https://github.com/compilerla/conventional-pre-commit
34
+ rev : v4.0.0
35
+ hooks :
36
+ - id : conventional-pre-commit
37
+ name : (commit-message) Check conventional commit
38
+ stages : [commit-msg]
39
+ args : []
Original file line number Diff line number Diff line change 2
2
3
3
This module does not create any resources.
4
4
5
- <!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
5
+ <!-- BEGIN_TF_DOCS -->
6
6
## Requirements
7
7
8
8
| Name | Version |
@@ -46,4 +46,4 @@ No modules.
46
46
| <a name =" output_ipv4_cidrs " ></a > [ ipv4\_ cidrs] ( #output\_ ipv4\_ cidrs ) | The list of IPv4 CIDRs for the service. |
47
47
| <a name =" output_ipv6_cidrs " ></a > [ ipv6\_ cidrs] ( #output\_ ipv6\_ cidrs ) | The list of IPv6 CIDRs for the service. |
48
48
| <a name =" output_service " ></a > [ service] ( #output\_ service ) | The service which owns the IP ranges. |
49
- <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
49
+ <!-- END_TF_DOCS -->
You can’t perform that action at this time.
0 commit comments