Update nomad hcl file to use template instead of artifact

This commit is contained in:
Alex 2020-02-10 17:45:10 +01:00
parent 938311a48e
commit 9e365d4b53

View file

@ -22,10 +22,9 @@ job "directory" {
] ]
} }
artifact { template {
source = "http://127.0.0.1:8500/v1/kv/configuration/directory/bottin/config.json?raw" data = "{{ key \"configuration/directory/bottin/config.json\" }}"
destination = "secrets/config.json" destination = "secrets/config.json"
mode = "file"
} }
resources { resources {