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:
@@ -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"]
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
Reference in New Issue
Block a user