scenarios/shared/terraform/modules/monitoring/log-analytics/variables.tf (50 lines of code) (raw):

variable "workspaceName" { default = "" type = string validation { condition = length(var.workspaceName) >= 4 && length(var.workspaceName) <= 63 error_message = "Name must be greater than 4 characters and not longer than 63 characters." } } variable "resourceGroupName" { type = string } variable "location" { default = "northeurope" type = string } variable "retentionInDays" { default = 90 type = number validation { condition = var.retentionInDays <= 730 error_message = "Value can't be more than 730 days." } } variable "tags" { } variable "sku" { default = "PerGB2018" type = string validation { condition = anytrue([ var.sku == "Free", var.sku == "Standalone", var.sku == "PerNode", var.sku == "PerGB2018" ]) error_message = "SKU must be Free, Standalone, PerNode, or PerGB2018." } } variable "ingestionEnabled" { default = true type = bool } variable "internetQueryEnabled" { default = true type = bool } variable "allowResourceOnlyPermissions" { default = true type = bool }