Quiz 2 Question 3 of 20

A local builds subnet pairs with flatten([for tier, subnets in local.network : [for s in subnets : { tier = tier, subnet = s }]]), where local.network is {app = ["a", "b"], db = ["c"]}. What does the expression produce before it is converted for for_each?

Select an answer to reveal the explanation.

Motivation