feat: initial radarr terraform configuration #1

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

Context

Bring Radarr movie automation under Terraform management using the devopsarr/radarr provider. This enables declarative, version-controlled configuration of Radarr's custom formats, quality profiles, download clients, indexers, notifications, and root folders.

Also updated the stale radarr API token in Vault (kv/service/media-apps/radarr) to match the current running instance.

Changes

  • Add Terragrunt project structure with Consul backend and Vault-integrated Makefile
  • Add Woodpecker CI pipelines for pre-commit, plan, and apply
  • Add 5 custom format configs (x264, x265, 720p, 1080p, 2160p)
  • Add 3 quality profiles (BestQuality_2160p, BestQuality_1080p, DONT_USE_WEBDL)
  • Add NZBGet download client config
  • Add NZBgeek via Prowlarr indexer config
  • Add Jellyfin notification config
  • Add default delay profile
  • Add /shared/media/movies root folder
## Context Bring Radarr movie automation under Terraform management using the devopsarr/radarr provider. This enables declarative, version-controlled configuration of Radarr's custom formats, quality profiles, download clients, indexers, notifications, and root folders. Also updated the stale radarr API token in Vault (kv/service/media-apps/radarr) to match the current running instance. ## Changes - Add Terragrunt project structure with Consul backend and Vault-integrated Makefile - Add Woodpecker CI pipelines for pre-commit, plan, and apply - Add 5 custom format configs (x264, x265, 720p, 1080p, 2160p) - Add 3 quality profiles (BestQuality_2160p, BestQuality_1080p, DONT_USE_WEBDL) - Add NZBGet download client config - Add NZBgeek via Prowlarr indexer config - Add Jellyfin notification config - Add default delay profile - Add /shared/media/movies root folder
unkinben added 1 commit 2026-06-28 22:19:25 +10:00
feat: initial radarr terraform configuration
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
a00affbf46
unkinben added 1 commit 2026-06-28 22:20:26 +10:00
fix: use TF_VAR_radarr_api_key for terraform variable injection
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
cb59849b51
The generated backend.tf defines a terraform variable, so the Makefile
must export the API key as TF_VAR_radarr_api_key rather than RADARR_API_KEY.
unkinben added 1 commit 2026-06-28 22:27:51 +10:00
fix: align terraform resources with actual provider schema
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
a70b902e3b
Use nested attribute assignment instead of dynamic blocks for
specifications, quality_groups, and format_items. Add required language
field to quality profiles. Remove unsupported delay_profile fields.
Flatten custom format specifications to use value/min/max directly.
unkinben added 1 commit 2026-06-28 23:31:58 +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
267da8ffab
Allows heterogeneous quality profile and custom format structures
without type unification errors.
unkinben added 1 commit 2026-06-29 23:26:15 +10:00
fix: add versions.tf and fix tofu fmt for pre-commit
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline failed
482d6f5ee6
Add required_providers block so tofu validate works in the module
directory. Fix alignment from tofu fmt.
unkinben added 1 commit 2026-06-29 23:29:43 +10:00
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
c7ada64851
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:49:59 +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
63f6301a2e
benvin merged commit a37916e689 into main 2026-06-30 00:12:27 +10:00
Sign in to join this conversation.