-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstorage.tf
29 lines (26 loc) · 988 Bytes
/
storage.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# general storage
resource "azurerm_storage_account" "general_storage_account" {
account_replication_type = "GRS"
account_tier = "Standard"
location = var.location
name = "generalsasoops"
resource_group_name = "aks-rg"
}
#container for general storage
resource "azurerm_storage_container" "gsa_container" {
name = "gsa-storage"
storage_account_name = azurerm_storage_account.general_storage_account.name
}
# blob storage
resource "azurerm_storage_blob" "gsa_blob" {
name = "gsa-blob"
storage_account_name = azurerm_storage_account.general_storage_account.name
storage_container_name = azurerm_storage_container.gsa_container.name
type = "Block"
}
# share storage
resource "azurerm_storage_share" "gsa_share" {
name = "gsa-share"
storage_account_name = azurerm_storage_account.general_storage_account.name
quota = 500
}