feat: initial radarr terraform configuration
This commit is contained in:
@@ -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/")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
include_custom_format_when_renaming: false
|
||||
specifications:
|
||||
- name: 1080p
|
||||
implementation: ResolutionSpecification
|
||||
negate: false
|
||||
required: false
|
||||
fields:
|
||||
- name: value
|
||||
value: "1080"
|
||||
@@ -0,0 +1,9 @@
|
||||
include_custom_format_when_renaming: false
|
||||
specifications:
|
||||
- name: 2160p
|
||||
implementation: ResolutionSpecification
|
||||
negate: false
|
||||
required: false
|
||||
fields:
|
||||
- name: value
|
||||
value: "2160"
|
||||
@@ -0,0 +1,9 @@
|
||||
include_custom_format_when_renaming: false
|
||||
specifications:
|
||||
- name: 720p
|
||||
implementation: ResolutionSpecification
|
||||
negate: false
|
||||
required: false
|
||||
fields:
|
||||
- name: value
|
||||
value: "720"
|
||||
@@ -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"
|
||||
@@ -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))"
|
||||
@@ -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: []
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
path: "/shared/media/movies"
|
||||
Reference in New Issue
Block a user