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
Owner

Context

Bring Prowlarr indexer automation under Terraform management using the devopsarr/prowlarr provider. This enables declarative, version-controlled configuration of Prowlarr's indexers, download clients, and tags.

Changes

  • Add Terragrunt project structure with Consul backend and Vault-integrated Makefile
  • Add Woodpecker CI pipelines for pre-commit, plan, and apply
  • Add NZBgeek Newznab indexer config
  • Add NZBGet download client config with category mappings (tv, movies, books, music)
  • Add "nzb" tag
## Context Bring Prowlarr indexer automation under Terraform management using the devopsarr/prowlarr provider. This enables declarative, version-controlled configuration of Prowlarr's indexers, download clients, and tags. ## Changes - Add Terragrunt project structure with Consul backend and Vault-integrated Makefile - Add Woodpecker CI pipelines for pre-commit, plan, and apply - Add NZBgeek Newznab indexer config - Add NZBGet download client config with category mappings (tv, movies, books, music) - Add "nzb" tag
unkinben added 1 commit 2026-06-28 22:17:11 +10:00
feat: initial prowlarr terraform configuration
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
40c1366f38
unkinben added 1 commit 2026-06-28 22:20:34 +10:00
fix: use TF_VAR_prowlarr_api_key for terraform variable injection
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
c08dc94b37
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.
unkinben added 1 commit 2026-06-28 22:27:58 +10:00
fix: use nested attribute assignment instead of dynamic blocks
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline failed
a59646c44a
The prowlarr provider uses nested attributes for fields and categories,
not HCL blocks. Assign them directly as values.
unkinben added 1 commit 2026-06-28 23:32:00 +10:00
fix: change variable types from map(any) to any
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful
b2e208d3cf
Prevents type unification errors with heterogeneous resource configs.
unkinben added 1 commit 2026-06-29 23:26:19 +10:00
fix: add versions.tf for pre-commit validate
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline failed
0783d32e47
Add required_providers block so tofu validate works in the module
directory.
unkinben added 1 commit 2026-06-29 23:29:48 +10:00
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
806266e6dc
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.
unkinben added 1 commit 2026-06-29 23:50:03 +10:00
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
edb0692bee
benvin merged commit 5024f1c090 into main 2026-06-30 00:11:48 +10:00
Sign in to join this conversation.