-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested interpolation not working #3549
Comments
Hey you have to use the E.g. I am going to close this but if it doesn't work for you we can reopen! |
It did indeed work. It was a PITA to debug as there's no way to tell when in the templates there are bugs, but I eventually came up with this:
|
How did you debug templates? I'm trying to pass a consul key from meta in parametrized job to template and have no idea how to do it:
|
for kv
|
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
0.7.0
Operating system and Environment details
Linux 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
Issue
Nested interpolation not working
Reproduction steps
Connect Nomad to Vault with a PKI backend with a role "role"
Create a nomad job with the following template
Without the
\"ip_sans=${attr.unique.network.ip-address}\"
, the above snippet works as expectedNomad Server logs (if appropriate)
Reference: #3534
The text was updated successfully, but these errors were encountered: