fix: use data source for size custom formats to work around provider set key bug
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:
@@ -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 = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user