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
1 changed files with 2 additions and 3 deletions

View File

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