fix: use data source for size custom formats to work around provider set key bug
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful

The devopsarr sonarr provider cannot handle float min/max values in
SizeSpecification as set element keys. Remove size custom formats from
terraform management and look up their IDs via a data source instead.
Also change variable types from map(any) to any to allow heterogeneous
quality profile structures.
This commit is contained in:
2026-06-28 23:31:38 +10:00
parent fe1219878e
commit 81b28c72b1
7 changed files with 17 additions and 48 deletions
+7 -7
View File
@@ -1,34 +1,34 @@
variable "custom_formats" {
type = map(any)
type = any
default = {}
}
variable "quality_profiles" {
type = map(any)
type = any
default = {}
}
variable "download_clients" {
type = map(any)
type = any
default = {}
}
variable "indexers" {
type = map(any)
type = any
default = {}
}
variable "notifications" {
type = map(any)
type = any
default = {}
}
variable "delay_profiles" {
type = map(any)
type = any
default = {}
}
variable "root_folders" {
type = map(any)
type = any
default = {}
}