Files
noahspan-flying/infrastructure/storage_account.tf

17 lines
613 B
HCL

resource "azurerm_storage_account" "storage_account" {
name = "${var.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_table" "logbook_storage_table" {
name = "Logbook"
storage_account_name = azurerm_storage_account.storage_account.name
}
resource "azurerm_storage_table" "pilots_storage_table" {
name = "Pilots"
storage_account_name = azurerm_storage_account.storage_account.name
}