Moving app to azure storage (#16)

* Moving app to azure storage

* Moving app to azure storage

* Moving app to azure storage
This commit was merged in pull request #16.
This commit is contained in:
2025-04-19 09:31:58 -05:00
committed by GitHub
parent d2036f14e4
commit a7ffdd0900
10 changed files with 299 additions and 128 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]
}