Create multiple storage containers Azure

I am trying to create multiple storage containers using a module with for-each inside the module, and my code is failing with the following.

here is my module with variables:

resource “azurerm_storage_container” “container” {
for_each = toset(var.containers)
name = each.value.name
storage_account_name = var.storage_account_name
container_access_type = “private”
}

variable “containers” {
description = “the name of the container within the storage account”
type = list(string)
}

here is my code calling the module and the error:

module “storageaccountcontainer” {
source = “./modules/storageaccountcontainer”
resource_group_name = data.azurerm_resource_group.resource_group.name
location = data.azurerm_resource_group.resource_group.location
storage_account_resource_group = data.azurerm_resource_group.resource_group.name
storage_account_name = module.storageaccount.storage_account_name
storage_account_id = module.storageaccount.storage_account_id
containers = [“tftest1”, “tftest2”]
}

the error is

i even tried creating locals to define the containers but that is also failing. So, my goal is to create multiple containers in an existing storage account. Any help is much appreciated!