diff --git a/infra/nomad/code-snippets.nomad.hcl b/infra/nomad/code-snippets.nomad.hcl index ccbfea5..93b4dab 100644 --- a/infra/nomad/code-snippets.nomad.hcl +++ b/infra/nomad/code-snippets.nomad.hcl @@ -1,12 +1,12 @@ +variable "version" { +type = string +default = "latest" +} + job "code-snippets" { datacenters = ["dc1"] type = "service" - variable "version" { - type = string - default = "latest" - } - group "code-snippets" { count = 1