File tree 3 files changed +21
-7
lines changed
modules/sfn-state-machine
3 files changed +21
-7
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 @@ -70,7 +70,7 @@ rule "terraform_unused_required_providers" {
70
70
71
71
plugin "aws" {
72
72
source = " github.com/terraform-linters/tflint-ruleset-aws"
73
- version = " 0.21.1 "
73
+ version = " 0.38.0 "
74
74
75
75
enabled = true
76
76
deep_check = false
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This module creates following resources.
4
4
5
5
- ` aws_sfn_state_machine `
6
6
7
- <!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
7
+ <!-- BEGIN_TF_DOCS -->
8
8
## Requirements
9
9
10
10
| Name | Version |
@@ -76,4 +76,4 @@ This module creates following resources.
76
76
| <a name =" output_tracing " ></a > [ tracing] ( #output\_ tracing ) | The configuration of AWS X-Ray tracing for the state machine. |
77
77
| <a name =" output_type " ></a > [ type] ( #output\_ type ) | The type of the state machine. |
78
78
| <a name =" output_versions " ></a > [ versions] ( #output\_ versions ) | A map of versions for the state machine. |
79
- <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
79
+ <!-- END_TF_DOCS -->
You can’t perform that action at this time.
0 commit comments