Skip to content

Commit

Permalink
build: upgrade pre-commit hooks config
Browse files Browse the repository at this point in the history
  • Loading branch information
Shr3ps committed Aug 28, 2024
1 parent 11cb80f commit a5447c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .config/tflint.hcl
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
plugin "azurerm" {
enabled = true
source = "github.com/terraform-linters/tflint-ruleset-azurerm"
version = "0.21.0"
version = "0.27.0"
}

config {
module = true
call_module_type = "local"
force = false
disabled_by_default = false
plugin_dir = "~/.tflint.d/plugins"

varfile = ["terraform.tfvars.ci"]
}
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ repos:
stages: [pre-commit]
args:
- --args=--config=.config/terraform-docs.yml
- --hook-config=--use-standard-markers=true
exclude: "^modules|^example|^tools"
- id: terraform_validate
stages: [pre-commit]
Expand All @@ -44,7 +45,7 @@ repos:
args:
- --args=--config=__GIT_WORKING_DIR__/.config/tflint.hcl
- --env-vars=TFLINT_LOG="info"
- id: terraform_tfsec
- id: terraform_trivy
stages: [pre-commit]

- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
Expand Down

0 comments on commit a5447c1

Please sign in to comment.