Add tofu-validate and tflint hooks, track lock files
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful

This commit is contained in:
2026-10-12 00:41:37 +11:00
parent 5bce3998c5
commit cec0a1f322
3 changed files with 5 additions and 1 deletions
-1
View File
@@ -5,4 +5,3 @@
*.tfplan
tfplan
crash.log
.terraform.lock.hcl
+2
View File
@@ -10,6 +10,8 @@ repos:
rev: v0.1.30
hooks:
- id: tofu-fmt
- id: tofu-validate
- id: tflint
- id: terragrunt-hcl-fmt
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
+3
View File
@@ -0,0 +1,3 @@
rule "terraform_unused_declarations" {
enabled = false
}