hashicorp / hashicorp/nomad

Template stanza does not render a template from the consul

Open
#4,470 8 comments 17 reactions 0 assignees View on GitHub
theme/client theme/consul-template type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Nomad version
0.8.4

### Issue
When you try to store a template in the consul, the template renderer does not occur

### Reproduction steps
**template stanza**:
```
template
{
data = <

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the template stanza and template renderer behavior described in the reproduction, then trace how the Consul key app/it/tdagent_local is loaded and evaluated. Verify the rendered destination contains the NOMAD_ALLOC_DIR value and the template context instead of the original template expressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.