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
-8
View File
@@ -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
-8
View File
@@ -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
-8
View File
@@ -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
-8
View File
@@ -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