Template stanza doesn't load env as expected

Hi guys,
I’m currently maintain nomad v0.8.6 with no special issues.
We tried upgrade our test environment with v0.9.3 and v0.9.4 and we experienced an issue that environment variables from template stanza not always being placed.
Does anyone experienced something similar?

We opened issue on Github but didn’t received feedback yet :thinking:
https://github.com/hashicorp/nomad/issues/6112

I have had env vars not being rendered when task names that had a “-” in the names. The environment variables such as NOMAD_PORT_task-name_http would not work because of it.

But dont think this is what you are running in to looking at your github issue.