adding optional storage containers to storage module
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
resource "azurerm_storage_container" "storage_container" {
|
resource "azurerm_storage_container" "storage_container" {
|
||||||
count = length(var.storage_containers)
|
count = length(var.storage_containers)
|
||||||
name = "content"
|
name = var.storage_containers[count.index]
|
||||||
storage_account_id = azurerm_storage_account.storage_account.id
|
storage_account_id = azurerm_storage_account.storage_account.id
|
||||||
container_access_type = "private"
|
container_access_type = "private"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user