-
Notifications
You must be signed in to change notification settings - Fork 1
/
error-templates.tf
47 lines (40 loc) · 1.43 KB
/
error-templates.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
resource "azurerm_storage_blob" "dfe_403" {
for_each = local.custom_error_web_pages
name = "dfe/403.html"
storage_account_name = each.key
storage_container_name = "$web"
type = "Block"
source_content = each.value["dfe/403.html"]
content_type = "text/html"
access_tier = "Cool"
}
resource "azurerm_storage_blob" "dfe_502" {
for_each = local.custom_error_web_pages
name = "dfe/502.html"
storage_account_name = each.key
storage_container_name = "$web"
type = "Block"
source_content = each.value["dfe/502.html"]
content_type = "text/html"
access_tier = "Cool"
}
resource "azurerm_storage_blob" "govuk_403" {
for_each = local.custom_error_web_pages
name = "govuk/403.html"
storage_account_name = each.key
storage_container_name = "$web"
type = "Block"
source_content = each.value["govuk/403.html"]
content_type = "text/html"
access_tier = "Cool"
}
resource "azurerm_storage_blob" "govuk_502" {
for_each = local.custom_error_web_pages
name = "govuk/502.html"
storage_account_name = each.key
storage_container_name = "$web"
type = "Block"
source_content = each.value["govuk/502.html"]
content_type = "text/html"
access_tier = "Cool"
}