Commit Graph

13 Commits

Author SHA1 Message Date
benvin de83493400 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:44 +10:00
unkin-agent b72fb609f7 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:47 +10:00
benvin 3d0b2069cc 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:15 +10:00
unkin-agent effed79bd2 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:14 +10:00
benvin 5024f1c090 Merge pull request 'feat: initial prowlarr terraform configuration' (#1) from feat/initial-config into main
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #1
2026-06-30 00:11:48 +10:00
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/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful
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
gitadmin 93a9dbd07f Initial commit 2026-06-28 22:01:44 +10:00