For_each over a list of maps

You nest two for expressions to deal with the two levels of nesting, and then you use merge() to flatten the resulting list of maps into a single map containing all the entries - e.g. Multiple iteration in one resource - #2 by maxb