I would like to be able to pass variable amount of specific strings into resources. For example I have a list of hostnames and a parameter "number of hostnames" and when changing the number, value in the resources also change.
How can I do that? I can't use take-array function as arrays have "name": "value" scheme, and I only need to pass "values".