foreach list of objects
[{
name = "xxx"
description = "xxx"
param = "xxx"
},
...
]
for_each = {
for item in var.items:
item.name => item
}
name = each.key OU each.value.name
description = each.value.description
-
https://stackoverflow.com/questions/58594506/how-to-for-each-through-a-listobjects-in-terraform-0-12
-
https://links.infomee.fr/?bERNcg