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

This commit is contained in:
2026-06-28 22:17:12 +10:00
parent b19f04e69d
commit a00affbf46
24 changed files with 634 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
locals {
config_files = fileset(".", "**/*.yaml")
all_configs = {
for file_path in local.config_files :
file_path => yamldecode(file(file_path))
}
config = {
custom_formats = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "custom_format/")
}
quality_profiles = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "quality_profile/")
}
download_clients = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "download_client/")
}
indexers = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "indexer/")
}
notifications = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "notification/")
}
delay_profiles = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "delay_profile/")
}
root_folders = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "root_folder/")
}
}
}
+9
View File
@@ -0,0 +1,9 @@
include_custom_format_when_renaming: false
specifications:
- name: 1080p
implementation: ResolutionSpecification
negate: false
required: false
fields:
- name: value
value: "1080"
+9
View File
@@ -0,0 +1,9 @@
include_custom_format_when_renaming: false
specifications:
- name: 2160p
implementation: ResolutionSpecification
negate: false
required: false
fields:
- name: value
value: "2160"
+9
View File
@@ -0,0 +1,9 @@
include_custom_format_when_renaming: false
specifications:
- name: 720p
implementation: ResolutionSpecification
negate: false
required: false
fields:
- name: value
value: "720"
+9
View File
@@ -0,0 +1,9 @@
include_custom_format_when_renaming: false
specifications:
- name: x264
implementation: ReleaseTitleSpecification
negate: false
required: false
fields:
- name: value
value: "(x|h)\\.?264"
+9
View File
@@ -0,0 +1,9 @@
include_custom_format_when_renaming: false
specifications:
- name: x265
implementation: ReleaseTitleSpecification
negate: false
required: false
fields:
- name: value
value: "(((x|h)\\.?265)|(HEVC))"
+9
View File
@@ -0,0 +1,9 @@
enable_usenet: true
enable_torrent: true
preferred_protocol: usenet
usenet_delay: 0
torrent_delay: 0
bypass_if_highest_quality: true
bypass_if_above_custom_format_score: false
minimum_custom_format_score: 0
tags: []
+10
View File
@@ -0,0 +1,10 @@
enable: true
priority: 1
host: nzbget.service.consul
port: 443
use_ssl: true
username: ""
password: ""
movie_category: movies
remove_completed_downloads: true
remove_failed_downloads: true
+17
View File
@@ -0,0 +1,17 @@
enable_automatic_search: true
enable_interactive_search: true
enable_rss: true
priority: 25
base_url: "https://prowlarr.service.consul/1/"
api_path: "/api"
api_key: ""
categories:
- 2000
- 2010
- 2020
- 2030
- 2040
- 2045
- 2050
- 2060
download_client_id: 0
+14
View File
@@ -0,0 +1,14 @@
host: jellyfin.service.consul
port: 443
use_ssl: true
api_key: ""
notify: false
update_library: true
on_grab: true
on_download: true
on_upgrade: true
on_rename: true
on_movie_delete: true
on_movie_file_delete: true
on_movie_file_delete_for_upgrade: true
on_application_update: true
@@ -0,0 +1,78 @@
upgrade_allowed: true
cutoff: 7
cutoff_format_score: 5000
min_format_score: 0
quality_groups:
- id: 20
qualities:
- id: 20
name: Bluray-480p
source: bluray
resolution: 480
- id: 21
qualities:
- id: 21
name: Bluray-576p
source: bluray
resolution: 576
- id: 4
qualities:
- id: 4
name: HDTV-720p
source: tv
resolution: 720
- id: 5
qualities:
- id: 5
name: WEBDL-720p
source: webdl
resolution: 720
- id: 14
qualities:
- id: 14
name: WEBRip-720p
source: webrip
resolution: 720
- id: 6
qualities:
- id: 6
name: Bluray-720p
source: bluray
resolution: 720
- id: 9
qualities:
- id: 9
name: HDTV-1080p
source: tv
resolution: 1080
- id: 3
qualities:
- id: 3
name: WEBDL-1080p
source: webdl
resolution: 1080
- id: 15
qualities:
- id: 15
name: WEBRip-1080p
source: webrip
resolution: 1080
- id: 7
qualities:
- id: 7
name: Bluray-1080p
source: bluray
resolution: 1080
format_items:
- name: x264
format: x264
score: -200
- name: x265
format: x265
score: 1000
- name: 1080p
format: 1080p
score: 500
- name: 720p
format: 720p
score: 200
@@ -0,0 +1,36 @@
upgrade_allowed: true
cutoff: 19
cutoff_format_score: 5000
min_format_score: 0
quality_groups:
- id: 18
qualities:
- id: 18
name: WEBDL-2160p
source: webdl
resolution: 2160
- id: 17
qualities:
- id: 17
name: WEBRip-2160p
source: webrip
resolution: 2160
- id: 19
qualities:
- id: 19
name: Bluray-2160p
source: bluray
resolution: 2160
format_items:
- name: 2160p
format: 2160p
score: 2000
- name: 1080p
format: 1080p
score: 500
- name: x265
format: x265
score: 2000
- name: x264
format: x264
score: -5000
@@ -0,0 +1,32 @@
upgrade_allowed: true
cutoff: 1002
cutoff_format_score: 300
min_format_score: 300
quality_groups:
- id: 1002
name: "WEB 1080p"
qualities:
- id: 3
name: WEBDL-1080p
source: webdl
resolution: 1080
- id: 15
name: WEBRip-1080p
source: webrip
resolution: 1080
format_items:
- name: 2160p
format: 2160p
score: -300
- name: x264
format: x264
score: -200
- name: x265
format: x265
score: -200
- name: 1080p
format: 1080p
score: -200
- name: 720p
format: 720p
score: 300
+1
View File
@@ -0,0 +1 @@
path: "/shared/media/movies"