-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables-flowlog.tf
77 lines (65 loc) · 2.14 KB
/
variables-flowlog.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
variable "flow_log_enabled" {
description = "Provision network watcher flow logs."
type = bool
default = false
}
variable "flow_log_logging_enabled" {
description = "Enable Network Flow Logging."
type = bool
default = true
}
variable "network_watcher_name" {
description = "The name of the Network Watcher. Changing this forces a new resource to be created."
type = string
default = null
}
variable "network_watcher_resource_group_name" {
description = "The name of the resource group in which the Network Watcher was deployed. Changing this forces a new resource to be created."
type = string
default = null
}
variable "flow_log_storage_account_id" {
description = "Network watcher flow log storage account ID."
type = string
default = null
}
variable "flow_log_retention_policy_enabled" {
description = "Boolean flag to enable/disable retention."
type = bool
default = true
}
variable "flow_log_retention_policy_days" {
description = "The number of days to retain flow log records."
type = number
default = 31
}
variable "flow_log_traffic_analytics_enabled" {
description = "Boolean flag to enable/disable traffic analytics."
type = bool
default = true
}
variable "log_analytics_workspace_guid" {
description = "The resource GUID of the attached workspace."
type = string
default = null
}
variable "log_analytics_workspace_location" {
description = "The location of the attached workspace."
type = string
default = null
}
variable "log_analytics_workspace_id" {
description = "The resource ID of the attached workspace."
type = string
default = null
}
variable "flow_log_traffic_analytics_interval_in_minutes" {
description = "How frequently service should do flow analytics in minutes."
type = number
default = 10
}
variable "flow_log_location" {
description = "The location where the Network Watcher Flow Log resides. Changing this forces a new resource to be created. Defaults to the `location` of the Network Watcher."
type = string
default = null
}