13 Commits

Author SHA1 Message Date
benvin b1f475b015 Merge pull request 'ci: fetch vault from artifactapi instead of dnf install' (#3) from benvin/vault-via-artifactapi into main
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #3
2026-08-23 22:43:21 +10:00
unkin-agent 594635ba79 ci: fetch vault from artifactapi instead of dnf install
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
dnf install reads metadata for every enabled repo and downloads the
vendored vault RPM on every pipeline run. Fetch the pinned upstream zip
from the artifactapi hashicorp-releases remote instead, matching
terraform-vault and terraform-artifactapi.

- Replace dnf install vault with a pinned curl of the vault zip from the
  artifactapi hashicorp-releases remote, extracted to /usr/local/bin.
2026-08-23 22:37:49 +10:00
benvin 30aaa15ef3 Merge pull request 'Run plan without acquiring the Consul state lock' (#2) from benvin/lockfree-plan into main
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #2
2026-08-23 22:31:01 +10:00
unkin-agent a2914b88e9 Run plan without acquiring the Consul state lock
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
PR plan pipelines were failing with "Error acquiring the state lock"
when they collided with a concurrent apply (or another plan) holding
the lock on the same Consul-backed state.

- plan: pass -lock=false to terragrunt plan; apply keeps locking
2026-08-23 22:21:16 +10:00
benvin a37916e689 Merge pull request 'feat: initial radarr terraform configuration' (#1) from feat/initial-config into main
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #1
2026-06-30 00:12:26 +10:00
unkinben 63f6301a2e 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:50 +10:00
unkinben c7ada64851 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:40 +10:00
unkinben 482d6f5ee6 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
Add required_providers block so tofu validate works in the module
directory. Fix alignment from tofu fmt.
2026-06-29 23:26:13 +10:00
unkinben 267da8ffab fix: change variable types from map(any) to any
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful
Allows heterogeneous quality profile and custom format structures
without type unification errors.
2026-06-28 23:31:45 +10:00
unkinben a70b902e3b fix: align terraform resources with actual provider schema
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
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.
2026-06-28 22:27:49 +10:00
unkinben cb59849b51 fix: use TF_VAR_radarr_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_radarr_api_key rather than RADARR_API_KEY.
2026-06-28 22:20:23 +10:00
unkinben a00affbf46 feat: initial radarr terraform configuration
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
2026-06-28 22:17:12 +10:00
gitadmin b19f04e69d Initial commit 2026-06-28 22:01:44 +10:00