I would tackle this problem in a different way.
First, "customizationSpec" expects a string, not a list:
And I would make some changes to the names of the CustomizationSpecs in vCenter. Based on your example:
- Datacenter-East-Windows-2019-Standard
- Datacenter-West-Windows-2019-Standard
- Datacenter-East-RHEL 8
- Datacenter-West-RHEL 8
And then, try something like this in the template:
customizationSpec: "${input.location}-${input.os}"
Of course this depends on how many OS do you have. But the important thing is that you can solve a problem in different ways in vRA8.
---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian