Closed gthieleb closed 3 months ago
Meanwhile, as a workaround this might work and return all servers in the dc:
data "ionoscloud_servers" "datasource" { datacenter_id = "your id here" filter { name = "name" value = "" } }
@cristiGuranIonos Thanks, the workaround works for me.
Current Provider Version
Use-cases
I would like to use the data resource for servers (plural) to get a list of all servers in the datacenter. Currently I need to define a filter which seems ambigous as the datacenter is already an required argument.
Example 1 - only using the datacenter_id:
i get an error message:
Example 2 - Using an empty filter Block:
I get the error message:
Attempted Solutions
Implement the
filter
property optional or alternatively allow an emptyfilter
map.