I have the code below in which I create vnets in for_each block:
provider "azurerm" { features {} } variable "vnets" { type = map(obj