From 2a58439ab561be08ad7a72a011cf580d60277608 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 30 Aug 2024 11:09:59 -0700 Subject: [PATCH] Simplify passing blocky config to nomad --- core/blocky/blocky.nomad | 9 +++------ core/blocky/blocky.tf | 13 ++----------- core/blocky/config.yml | 1 - 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/core/blocky/blocky.nomad b/core/blocky/blocky.nomad index 0e3dd8a..c7bbddd 100644 --- a/core/blocky/blocky.nomad +++ b/core/blocky/blocky.nomad @@ -1,8 +1,3 @@ -variable "config_data" { - type = string - description = "Plain text config file for blocky" -} - job "blocky" { datacenters = ["dc1"] type = "service" @@ -104,7 +99,9 @@ job "blocky" { } template { - data = var.config_data + data = <