I have created a list of map objects in variable in terraform

I want to loop over it and get individual map key values.

Need a code in dynamic block in terraform which can loop through list of map of objects

like this
var.quotanamespace is a list of map of objects .Will the below code give me data key inside the map ??

for-each = var.quotanamespace

data = each.value[“data”]