I don’t see a functionality to create cosmos DB inside a keyspace using terraform.
Having EnableTable and EnableCassandra as capabilities option gives error.
Also I don’t see a argument reference in azurerm_cosmosdb_table to create table under a keyspace