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,8 +0,0 @@
|
||||
include_custom_format_when_renaming: false
|
||||
specifications:
|
||||
- name: size_0_800
|
||||
implementation: SizeSpecification
|
||||
negate: false
|
||||
required: false
|
||||
min: 0
|
||||
max: 0.8
|
||||
@@ -1,8 +0,0 @@
|
||||
include_custom_format_when_renaming: false
|
||||
specifications:
|
||||
- name: size_1500_3000
|
||||
implementation: SizeSpecification
|
||||
negate: false
|
||||
required: false
|
||||
min: 1.5
|
||||
max: 3
|
||||
@@ -1,8 +0,0 @@
|
||||
include_custom_format_when_renaming: false
|
||||
specifications:
|
||||
- name: size_3000_6000
|
||||
implementation: SizeSpecification
|
||||
negate: false
|
||||
required: false
|
||||
min: 3
|
||||
max: 6
|
||||
@@ -1,8 +0,0 @@
|
||||
include_custom_format_when_renaming: false
|
||||
specifications:
|
||||
- name: size_6000_10000
|
||||
implementation: SizeSpecification
|
||||
negate: false
|
||||
required: false
|
||||
min: 6
|
||||
max: 10
|
||||
@@ -1,8 +0,0 @@
|
||||
include_custom_format_when_renaming: false
|
||||
specifications:
|
||||
- name: size_800_1500
|
||||
implementation: SizeSpecification
|
||||
negate: false
|
||||
required: false
|
||||
min: 0.8
|
||||
max: 1.5
|
||||
Reference in New Issue
Block a user