fix: remove versions.tf and exclude modules from validate/tflint
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful

The versions.tf conflicts with terragrunt's generated backend.tf which
already has required_providers. Exclude modules/ from tofu-validate and
tflint pre-commit hooks since they can't init without the full terragrunt
context.
This commit is contained in:
2026-06-29 23:29:46 +10:00
parent 0783d32e47
commit 806266e6dc
2 changed files with 2 additions and 9 deletions
+2
View File
@@ -11,7 +11,9 @@ repos:
hooks: hooks:
- id: tofu-fmt - id: tofu-fmt
- id: tofu-validate - id: tofu-validate
exclude: ^modules/
- id: tflint - id: tflint
exclude: ^modules/
- id: terragrunt-hcl-fmt - id: terragrunt-hcl-fmt
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1 rev: v1.37.1
-9
View File
@@ -1,9 +0,0 @@
terraform {
required_version = ">= 1.10"
required_providers {
prowlarr = {
source = "devopsarr/prowlarr"
version = ">= 3.2.1"
}
}
}