Add dashboard UID auto-generation and Gitea dev workflow
This commit is contained in:
19
environments/dev/adibrov/variables_dashboard_folder.tf
Normal file
19
environments/dev/adibrov/variables_dashboard_folder.tf
Normal file
@ -0,0 +1,19 @@
|
||||
variable "groups" {
|
||||
description = "List of alert groups with their definitions and data sources"
|
||||
type = list(object({
|
||||
dashboard_alert_group_name = string
|
||||
folder_uid = string
|
||||
alert_definitions_path = optional(string, null)
|
||||
dashboard_path_if_exist = optional(string, null)
|
||||
keep_manual_changes = optional(bool, false)
|
||||
prevent_destroy_on_recreate = optional(bool, false)
|
||||
alerts_on_datasources_uid = list(string)
|
||||
}))
|
||||
}
|
||||
|
||||
variable "dashboard_uid_max_length" {
|
||||
description = "Maximum generated length of dashboard UID"
|
||||
type = number
|
||||
default = 40
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user