Terraform module which creates basic configuration for Sonarr
It is important to export the provider credentials for this module to work. Following are required.
- SONARR_URL
- SONARR_API_TOKEN
module "settings" {
source = "../.."
preferred_protocol = "torrent"
languages = ["English", "Italian"]
root_folder = "/tmp"
}
Name | Version |
---|---|
terraform | >= 1.0 |
sonarr | >= 2.1.0 |
Name | Version |
---|---|
sonarr | >= 2.1.0 |
No modules.
Name | Type |
---|---|
sonarr_delay_profile.this | resource |
sonarr_download_client.this | resource |
sonarr_download_client_config.this | resource |
sonarr_indexer.this | resource |
sonarr_indexer_config.this | resource |
sonarr_language_profile.this | resource |
sonarr_media_management.this | resource |
sonarr_naming.this | resource |
sonarr_quality_profile.this | resource |
sonarr_root_folder.this | resource |
sonarr_tag.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
download_clients | Download client list. | map(any) |
{} |
no |
episode_format | Standard episode format. | string |
"{Series Title} - S{season:00}E{episode:00} - {Episode Title} {Quality Full}" |
no |
indexers | Indexer list. | map(any) |
{} |
no |
languages | List of languages. First one will be the cutoff language. | list(string) |
[ |
no |
preferred_protocol | Delay profile preferred protocol. | string |
"torrent" |
no |
root_folder | Root folder. | string |
n/a | yes |
season_folder_format | Series folder naming format. | string |
"Season {season}" |
no |
series_folder_format | Series folder naming format. | string |
"{Series Title}" |
no |
No outputs.