adding static web to storage account
This commit is contained in:
6
modules/storage/static_website.tf
Normal file
6
modules/storage/static_website.tf
Normal file
@@ -0,0 +1,6 @@
|
||||
resource "azurerm_storage_account_static_website" "static_website" {
|
||||
count = length(var.storage_tables)
|
||||
storage_account_id = azurerm_storage_account.storage_account.id
|
||||
error_404_document = var.static_websites[count.index].error_404_document
|
||||
index_document = var.static_websites[count.index].index_document
|
||||
}
|
||||
Reference in New Issue
Block a user