diff --git a/infra/database.tf b/infra/database.tf index a39f8e5..bf9813f 100644 --- a/infra/database.tf +++ b/infra/database.tf @@ -36,5 +36,23 @@ resource "azurerm_cosmosdb_sql_container" "listings_by_city" { account_name = azurerm_cosmosdb_account.db_acc.name database_name = azurerm_cosmosdb_sql_database.db.name + partition_key_path = "/_partitionKey" +} + +resource "azurerm_cosmosdb_sql_container" "notification_settings_by_city" { + name = "NotificationSettingsByCity" + resource_group_name = azurerm_cosmosdb_account.db_acc.resource_group_name + account_name = azurerm_cosmosdb_account.db_acc.name + database_name = azurerm_cosmosdb_sql_database.db.name + + partition_key_path = "/_partitionKey" +} + +resource "azurerm_cosmosdb_sql_container" "user_data_by_user_id" { + name = "UserDataByUserId" + resource_group_name = azurerm_cosmosdb_account.db_acc.resource_group_name + account_name = azurerm_cosmosdb_account.db_acc.name + database_name = azurerm_cosmosdb_sql_database.db.name + partition_key_path = "/_partitionKey" } \ No newline at end of file