Open vanillaSprinkles opened 2 months ago
I'm having the same "problem". I believe this could be handled the same way proxmox_virtual_environment_hagroups
and proxmox_virtual_environment_hagroup
are, using a proxmox_virtual_environment_datastores
data source that gets the entire list of ids and then using a proxmox_virtual_environment_datastore
referencing an id to retrieve a datastore object.
Describe the bug use of
proxmox_virtual_environment_datastores
with multiple datastores currently utilizes each attribute as an array, resulting in a sorting tf-logic nightmare; the output should instead be a list of datastore objects (perhaps utilizing a filter on resource input?) the output seems to not follow the "normal" paradigm of output structuresTo Reproduce Steps to reproduce the behavior:
Please also provide a minimal Terraform configuration that reproduces the issue.
Expected behavior
Additional context (cant quite decide if this is a bug or feature; more like a QoL bug)
TF_LOG=DEBUG terraform apply
): N/AWorkaround mangle the data object with a locals blob; though i am not proud of this, it does get the job done (i did not optimize it from zombie-brain coding):