Formatting

This commit is contained in:
Greyscale 2024-08-23 23:56:19 +02:00
parent dfe02d4fc3
commit b69c12d16b
3 changed files with 11 additions and 11 deletions

View file

@ -25,7 +25,7 @@ variable "notify_telegram" {
type = object({
token = string
channel = string
topic = optional(string, null)
topic = optional(string, null)
})
description = "Telegram configuration"
default = null

View file

@ -12,7 +12,7 @@ resource "docker_service" "orcaslicer" {
env = {
PUID = 1000
PGID = 1000
TZ = "Europe/Amsterdam"
TZ = "Europe/Amsterdam"
}
mounts {
target = "/config"

View file

@ -10,15 +10,15 @@ module "vigil_nginx_config" {
allow_ssl = false
}
variable "telegram_token" {
type = string
type = string
default = ""
}
variable "telegram_channel" {
type = string
type = string
default = ""
}
variable "telegram_topic" {
type = string
type = string
default = ""
}
module "vigil" {
@ -72,21 +72,21 @@ module "vigil" {
]
"PDUs" = [
{
id = "pdu-main"
id = "pdu-main"
label = "PDU Main Space"
endpoints = [
"icmp://main.pdu.ti",
"tcp://main.pdu.ti:23",
]
},{
id = "pdu-aux"
}, {
id = "pdu-aux"
label = "PDU Aux Space"
endpoints = [
"icmp://aux.pdu.ti",
"tcp://aux.pdu.ti:23",
]
},{
id = "pdu-printers"
}, {
id = "pdu-printers"
label = "PDU Printers"
endpoints = [
"icmp://printer.pdu.ti",
@ -243,6 +243,6 @@ module "vigil" {
notify_telegram = {
token = var.telegram_token
channel = var.telegram_channel
topic = var.telegram_topic
topic = var.telegram_topic
}
}