-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathvariables-logs.tf
37 lines (32 loc) · 1.23 KB
/
variables-logs.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
variable "diagnostics_storage_account_name" {
description = "Name of the Storage Account in which boot diagnostics are stored."
type = string
}
## Logs & monitoring variables
variable "monitoring_agent_enabled" {
description = "`true` to use and deploy the Azure Monitor Agent."
type = bool
default = true
nullable = false
}
variable "azure_monitor_data_collection_rule" {
description = "Data Collection Rule ID from Azure Monitor for metrics and logs collection. Used with new monitoring agent, set to `null` to disable."
type = object({
id = string
})
}
variable "azure_monitor_agent_version" {
description = "Azure Monitor Agent extension version. See [documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-extension-versions)."
type = string
default = "1.13" # May 2023
}
variable "azure_monitor_agent_auto_upgrade_enabled" {
description = "Automatically update agent when publisher releases a new version of the agent."
type = bool
default = false
}
variable "azure_monitor_agent_user_assigned_identity" {
description = "User Assigned Identity to use with Azure Monitor Agent."
type = string
default = null
}