forked from claranet/terraform-azurerm-api-management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables-logs.tf
30 lines (25 loc) · 944 Bytes
/
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
# Diag settings / logs parameters
variable "logs_destinations_ids" {
type = list(string)
description = "List of destination resources Ids for logs diagnostics destination. Can be Storage Account, Log Analytics Workspace and Event Hub. No more than one of each can be set. Empty list to disable logging."
}
variable "logs_categories" {
type = list(string)
description = "Log categories to send to destinations."
default = null
}
variable "logs_metrics_categories" {
type = list(string)
description = "Metrics categories to send to destinations."
default = null
}
variable "logs_retention_days" {
type = number
description = "Number of days to keep logs on storage account"
default = 30
}
variable "custom_diagnostic_settings_name" {
description = "Custom name of the diagnostics settings, name will be 'default' if not set."
type = string
default = "default"
}