You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this does not work, looks like Nomad checks all template sources before starting to execute templates.
template: failed to read template: exit status 1: failed to open source file "/nested-template-test/local/from-consul.json.tmpl": open /nested-template-test/local/from-consul.json.tmpl: no such file or directory
Maybe someone have something else to propose, which may suite our needs...
The text was updated successfully, but these errors were encountered:
Hi @Himura2la! You're right this isn't currently possible. This would be a feature that would need to be added to consul-template, so I'll move this issue there.
Use-cases
We are working on a configs/secrets convention in the Nomad+Consul+Vault stack, and we would like to have the following features:
Attempted Solutions
We found that the ideal solution would be a nested template. We'd like to store the config template in Consul K/V, like this:
Fetch it from Consul and use as a template again to resolve Vaulted values, like this:
Proposal
Unfortunately, this does not work, looks like Nomad checks all template sources before starting to execute templates.
Maybe someone have something else to propose, which may suite our needs...
The text was updated successfully, but these errors were encountered: