File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88# .tfvars files
99* .tfvars
10+
11+ # macs
12+ .DS_Store
13+
14+ # temp folders
15+ tmp
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/antonbabenko/pre-commit-terraform
3- rev : v1.31 .0
3+ rev : v1.48 .0
44 hooks :
55 - id : terraform_docs
66 always_run : true
77 args :
88 - --args=--sort-by-required
99 - id : terraform_fmt
10- - id : terraform_tflint
11- alias : terraform_tflint_deep
12- name : terraform_tflint_deep
13- args :
14- - --args=--deep
1510 - id : terraform_tflint
1611 alias : terraform_tflint_nocreds
1712 name : terraform_tflint_nocreds
4136 files : \.tf(vars)?$
4237 exclude : examples
4338 - repo : https://github.com/pre-commit/pre-commit-hooks
44- rev : v3.0 .0
39+ rev : v3.4 .0
4540 hooks :
4641 - id : check-case-conflict
4742 - id : check-json
Original file line number Diff line number Diff line change 11config {
22 module = true
3- deep_check = false
43}
54
65rule "terraform_deprecated_interpolation" {
Original file line number Diff line number Diff line change @@ -30,6 +30,16 @@ A bit about this module
3030
3131No provider.
3232
33+ ## Modules
34+
35+ | Name | Source | Version |
36+ | ------| --------| ---------|
37+ | tags | rhythmictech/tags/terraform | ~ > 1.1.0 |
38+
39+ ## Resources
40+
41+ No resources.
42+
3343## Inputs
3444
3545| Name | Description | Type | Default | Required |
@@ -42,7 +52,6 @@ No provider.
4252| Name | Description |
4353| ------| -------------|
4454| tags\_ module | Tags Module in it's entirety |
45-
4655<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4756
4857## Getting Started
Original file line number Diff line number Diff line change 33echo ' installing dependencies'
44sudo apt install python3-pip gawk && \
55pip3 install pre-commit
6- curl -L " $( curl -sL https://api.github.com/repos/segmentio/terraform-docs/releases/latest | grep -o -E " https://.+?-linux-amd64" ) " > terraform-docs && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/
6+ tfdocs_latest_dl_url=$( curl -sL https://api.github.com/repos/terraform-docs/terraform-docs/releases/latest | grep -o -E " https://.+?-linux-amd64" | tail -n1)
7+ curl -L " $tfdocs_latest_dl_url " > terraform-docs && chmod +x terraform-docs && sudo mv terraform-docs /usr/bin/
78curl -L " $( curl -sL https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E " https://.+?_linux_amd64.zip" ) " > tflint.zip && unzip tflint.zip && rm tflint.zip && sudo mv tflint /usr/bin/
89env GO111MODULE=on go get -u github.com/liamg/tfsec/cmd/tfsec
910git clone https://github.com/tfutils/tfenv.git ~ /.tfenv || true
You can’t perform that action at this time.
0 commit comments