-
Notifications
You must be signed in to change notification settings - Fork 8
/
locals.tf
52 lines (36 loc) · 2.79 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
45
46
47
48
49
50
51
52
#Copyright (c) 2021, 2023 Oracle Corporation and/or its affiliates.
#Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
locals {
analyticscloudlogdef = { for k, v in var.service_logdef : k => v if v.service == "oacnativeproduction" }
analyticscloudloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "oacnativeproduction"]
apigwlogdef = { for k, v in var.service_logdef : k => v if v.service == "apigateway" }
apigwloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "apigateway"]
apmlogdef = { for k, v in var.service_logdef : k => v if v.service == "apm" }
apmloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "apm"]
devopslogdef = { for k, v in var.service_logdef : k => v if v.service == "devops" }
devopsloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "devops"]
emaillogdef = { for k, v in var.service_logdef : k => v if v.service == "email" }
emailloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "email"]
eventlogdef = { for k, v in var.service_logdef : k => v if v.service == "cloudevents" }
eventloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "cloudevents"]
funclogdef = { for k, v in var.service_logdef : k => v if v.service == "functions" }
funcloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "functions"]
intlogdef = { for k, v in var.service_logdef : k => v if v.service == "integration" }
intloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "integration"]
lblogdef = { for k, v in var.service_logdef : k => v if v.service == "loadbalancer" }
lbloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "loadbalancer"]
medialogdef = { for k, v in var.service_logdef : k => v if v.service == "mediaflow" }
medialoggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "mediaflow"]
oslogdef = { for k, v in var.service_logdef : k => v if v.service == "objectstorage" }
osloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "objectstorage"]
vcnlogdef = { for k, v in var.service_logdef : k => v if v.service == "flowlogs" }
vcnloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "flowlogs"]
vpnlogdef = { for k, v in var.service_logdef : k => v if v.service == "vpn" }
vpnloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "vpn"]
waflogdef = { for k, v in var.service_logdef : k => v if v.service == "waf" }
wafloggroup = [for k, v in var.service_logdef : v.loggroup if v.service == "waf"]
}
locals {
linuxloggroup = [for k, v in var.linux_logdef : v.loggroup]
winloggroup = [for k, v in var.windows_logdef : v.loggroup]
}