Moving app to azure storage

This commit is contained in:
2025-04-19 09:26:00 -05:00
parent d2036f14e4
commit d290a45374
8 changed files with 154 additions and 97 deletions

View File

@@ -49,11 +49,32 @@ locals {
prod = "root-log-analytics-workspace-prod"
}
static_websites = {
test = [
{
error_404_document = "custom_not_found.html"
index_document = "index.html"
}
]
}
storage_account_name = {
test = "noahspanroottest"
prod = "noahspanrootprod"
}
storage_blobs = {
test = [
{
name = "web"
storage_container_name = "$web"
type = "Block"
content_type = "text/html"
source = "index.html"
}
]
}
storage_tables = {
test = ["projects"]
prod = ["projects"]

View File

@@ -38,10 +38,18 @@ output "log_analytics_workspace_name" {
value = local.log_analytics_workspace_name[var.environment]
}
output "static_websites" {
value = local.static_websites[var.environment]
}
output "storage_account_name" {
value = local.storage_account_name[var.environment]
}
output "storage_blobs" {
value = local.storage_blobs[var.environment]
}
output "storage_tables" {
value = local.storage_tables[var.environment]
}