-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
104 lines (87 loc) · 3.56 KB
/
variables.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
variable "create_log_analytics_workspace" {
type = bool
description = "Do you want to create Log analytics workspace"
default = true
}
variable "name" {
type = string
description = "(Required) Specifies the name of the Log Analytics Workspace. Workspace name should include 4-63 letters, digits or '-'. The '-' shouldn't be the first or the last symbol. Changing this forces a new resource to be created."
}
variable "location" {
type = string
description = "(Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created."
}
variable "resource_group_name" {
type = string
description = "(Required) The name of the resource group in which the Log Analytics workspace is created. Changing this forces a new resource to be created."
}
variable "allow_resource_only_permissions" {
type = bool
description = "(Optional) Specifies if the log Analytics Workspace allow users accessing to data associated with resources they have permission to view, without permission to workspace. Defaults to true."
default = true
}
variable "local_authentication_disabled" {
type = bool
description = "(Optional) Specifies if the log Analytics workspace should enforce authentication using Azure AD. Defaults to false."
default = false
}
variable "sku" {
type = string
description = "(Optional) Specifies the SKU of the Log Analytics Workspace. Possible values are Free, PerNode, Premium, Standard, Standalone, Unlimited, CapacityReservation, and PerGB2018 (new SKU as of 2018-04-03). Defaults to PerGB2018."
default = "PerGB2018"
}
variable "retention_in_days" {
type = number
description = "(Optional) The workspace data retention in days. Possible values are either 7 (Free Tier only) or range between 30 and 730."
default = 30
}
variable "daily_quota_gb" {
type = string
description = "(Optional) The workspace daily quota for ingestion in GB. Defaults to -1 (unlimited) if omitted."
default = "-1"
}
variable "cmk_for_query_forced" {
type = bool
description = "Optional) Is Customer Managed Storage mandatory for query management?"
default = false
}
variable "internet_ingestion_enabled" {
type = bool
description = "(Optional) Should the Log Analytics Workspace support ingestion over the Public Internet? Defaults to true."
default = true
}
variable "internet_query_enabled" {
type = bool
description = "(Optional) Should the Log Analytics Workspace support querying over the Public Internet? Defaults to true."
default = true
}
variable "reservation_capacity_in_gb_per_day" {
type = number
description = "(Optional) The capacity reservation level in GB for this workspace. Must be in increments of 100 between 100 and 5000."
default = null
}
variable "tags" {
type = map(string)
description = "(Optional) A mapping of tags to assign to the resource."
default = {}
}
variable "create_log_analytics_solution" {
type = bool
description = "(Optional) Do you want to create log analytics solution"
default = true
}
variable "solution_name" {
type = string
description = "(Optional) Specifies the name of the solution to be deployed. See here for options.Changing this forces a new resource to be created."
default = "ContainerInsights"
}
variable "plan" {
type = any
description = "(Optional) A plan block"
default = [
{
publisher = "Microsoft"
product = "OMSGallery/ContainerInsights"
}
]
}