feat: initial prowlarr terraform configuration
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed

This commit is contained in:
2026-06-28 22:14:21 +10:00
parent 93a9dbd07f
commit 40c1366f38
14 changed files with 314 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
generate "backend" {
path = "backend.tf"
if_exists = "overwrite"
contents = <<EOF
provider "prowlarr" {
url = "https://${path_relative_to_include()}"
api_key = var.prowlarr_api_key
}
variable "prowlarr_api_key" {
type = string
sensitive = true
}
terraform {
backend "consul" {
address = "https://consul.service.consul"
path = "infra/terraform/prowlarr/${path_relative_to_include()}/state"
scheme = "https"
lock = true
ca_file = "/etc/pki/tls/certs/ca-bundle.crt"
}
required_version = ">= 1.10"
required_providers {
prowlarr = {
source = "devopsarr/prowlarr"
version = "3.2.1"
}
}
}
EOF
}