updating modules

This commit is contained in:
2025-08-23 09:22:51 -05:00
parent 597dd42da6
commit cbb8b677cf
9 changed files with 88 additions and 15 deletions

View File

@@ -1,3 +1,7 @@
output "storage_account_primary_connection_string" {
value = azurerm_storage_account.storage_account.primary_connection_string
}
output "storage_account_name" {
value = azurerm_storage_account.storage_account.name
}

View File

@@ -1,6 +0,0 @@
resource "azurerm_storage_account_static_website" "static_website" {
count = length(var.static_websites)
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
}

View File

@@ -0,0 +1,5 @@
resource "azure_storage_share" "storage_share" {
count = length(var.storage_shares)
name = var.storage_shares[count.index]
storage_account_name = azurerm_storage_account.storage_account.name
}

View File

@@ -12,14 +12,6 @@ variable "resource_group_name" {
type = string
}
variable "static_websites" {
default = []
type = list(object({
error_404_document = string
index_document = string
}))
}
variable "storage_account_name" {
type = string
}
@@ -45,6 +37,11 @@ variable "storage_queues" {
type = list(string)
}
variable "storage_shares" {
default = []
type = list(string)
}
variable "storage_tables" {
default = []
type = list(string)