feat: initial prowlarr terraform configuration #1

Merged
benvin merged 7 commits from feat/initial-config into main 2026-06-30 00:11:48 +10:00

7 Commits

Author SHA1 Message Date
unkinben edb0692bee fix: align config with imported state for zero-drift plan
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
2026-06-29 23:49:52 +10:00
unkinben 806266e6dc 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.
2026-06-29 23:29:46 +10:00
unkinben 0783d32e47 fix: add versions.tf for pre-commit validate
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline failed
Add required_providers block so tofu validate works in the module
directory.
2026-06-29 23:26:17 +10:00
unkinben b2e208d3cf fix: change variable types from map(any) to any
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful
Prevents type unification errors with heterogeneous resource configs.
2026-06-28 23:31:47 +10:00
unkinben a59646c44a fix: use nested attribute assignment instead of dynamic blocks
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline failed
The prowlarr provider uses nested attributes for fields and categories,
not HCL blocks. Assign them directly as values.
2026-06-28 22:27:57 +10:00
unkinben c08dc94b37 fix: use TF_VAR_prowlarr_api_key for terraform variable injection
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
The generated backend.tf defines a terraform variable, so the Makefile
must export the API key as TF_VAR_prowlarr_api_key rather than PROWLARR_API_KEY.
2026-06-28 22:20:32 +10:00
unkinben 40c1366f38 feat: initial prowlarr terraform configuration
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
2026-06-28 22:14:21 +10:00