96 switch from azure table storage to sqlite (#97)

* adding typeorm to api

* switching to sqlite

* switching to sqlite

* switching to sqlite

* migrating to sqlite

* updating terraform

* updating infrastructure
This commit was merged in pull request #97.
This commit is contained in:
2025-11-23 10:42:31 -06:00
committed by GitHub
parent f94d0f7ca9
commit f98a2ab127
208 changed files with 27135 additions and 16875 deletions

21
infrastructure/storage.tf Normal file
View File

@@ -0,0 +1,21 @@
resource "azurerm_storage_account" "storage_account" {
name = module.environment.storage_account_name
resource_group_name = data.azurerm_resource_group.resource_group.name
location = data.azurerm_resource_group.resource_group.location
account_tier = "Standard"
account_replication_type = "LRS"
}
resource "azurerm_storage_container" "storage_container" {
count = length(module.environment.storage_account_containers)
name = module.environment.storage_account_containers[count.index]
storage_account_id = azurerm_storage_account.storage_account.id
container_access_type = "private"
}
resource "azurerm_storage_share" "storage_share" {
count = length(module.environment.storage_account_storage_shares)
name = module.environment.storage_account_storage_shares[count.index]
quota = 50
storage_account_name = azurerm_storage_account.storage_account.name
}