adding static web to storage account

This commit is contained in:
2025-04-18 15:42:57 -05:00
parent 870036b14e
commit 3db19589f7

View File

@@ -1,5 +1,5 @@
resource "azurerm_storage_account_static_website" "static_website" { resource "azurerm_storage_account_static_website" "static_website" {
count = length(var.storage_tables) count = length(var.static_websites)
storage_account_id = azurerm_storage_account.storage_account.id storage_account_id = azurerm_storage_account.storage_account.id
error_404_document = var.static_websites[count.index].error_404_document error_404_document = var.static_websites[count.index].error_404_document
index_document = var.static_websites[count.index].index_document index_document = var.static_websites[count.index].index_document