-
Notifications
You must be signed in to change notification settings - Fork 0
/
locals.tf
44 lines (38 loc) · 1.17 KB
/
locals.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
locals {
location = "northeurope"
naming = {
rg = "SEY-ACAE-NE-RG01"
cae_1 = "SEY-TERRAFORM-NE-ACAE01"
cae_2 = "SEY-TERRAFORM-NE-ACAE02"
}
cae = [
{
name = local.naming.cae_1
location = local.location
resource_group_name = azurerm_resource_group.rg.name
infrastructure_resource_group_name = "${azurerm_resource_group.rg.name}-DYN"
infrastructure_subnet_id = azurerm_subnet.subnet.id
log_analytics_workspace_id = azurerm_log_analytics_workspace.la.id
workload_profile = {
name = "Consumption"
workload_profile_type = "Consumption"
}
monitoring = [
{
diag_name = "Monitoring"
log_analytics_workspace_id = azurerm_log_analytics_workspace.la.id
categories = {
container_app_system_logs = false
}
}
]
tags = {}
},
{
name = local.naming.cae_2
location = local.location
resource_group_name = azurerm_resource_group.rg.name
tags = {}
}
]
}