fix: remove versions.tf and exclude modules from validate/tflint
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit 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:40 +10:00
parent 482d6f5ee6
commit c7ada64851
2 changed files with 2 additions and 9 deletions
+2
View File
@@ -11,7 +11,9 @@ repos:
hooks:
- id: tofu-fmt
- id: tofu-validate
exclude: ^modules/
- id: tflint
exclude: ^modules/
- id: terragrunt-hcl-fmt
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
-9
View File
@@ -1,9 +0,0 @@
terraform {
required_version = ">= 1.10"
required_providers {
radarr = {
source = "devopsarr/radarr"
version = ">= 2.3.5"
}
}
}