From b69c12d16b66a5ad1c881953a0e9f6147bcadd86 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Fri, 23 Aug 2024 23:56:19 +0200 Subject: [PATCH] Formatting --- modules/vigil/inputs.tf | 2 +- orca-slicer.tf | 2 +- vigil.tf | 18 +++++++++--------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/vigil/inputs.tf b/modules/vigil/inputs.tf index e5b68d7..1133878 100644 --- a/modules/vigil/inputs.tf +++ b/modules/vigil/inputs.tf @@ -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 diff --git a/orca-slicer.tf b/orca-slicer.tf index 2d9dd39..a4216ce 100644 --- a/orca-slicer.tf +++ b/orca-slicer.tf @@ -12,7 +12,7 @@ resource "docker_service" "orcaslicer" { env = { PUID = 1000 PGID = 1000 - TZ = "Europe/Amsterdam" + TZ = "Europe/Amsterdam" } mounts { target = "/config" diff --git a/vigil.tf b/vigil.tf index aae79bc..d367d4f 100644 --- a/vigil.tf +++ b/vigil.tf @@ -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 } } \ No newline at end of file