First commit
This commit is contained in:
14
infrastructure/storage.tf
Normal file
14
infrastructure/storage.tf
Normal file
@@ -0,0 +1,14 @@
|
||||
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_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
|
||||
}
|
||||
Reference in New Issue
Block a user