module "eip" { source = "../eip" for_each = var.eips eip_count = each.value.count vpc = each.value.vpc tags = each.value.tags }