OpenGov Interview Question

How would parametrized complex list and map them to terraform resources?