Raw-exec copy file in root filesystem

Continuing the discussion from Passing local config file to task:

I tried the example from the discussion above and the template puts the destination file under the nomad task filesystem.
I am using raw-exec to run my application which expects the configuration file in the host file-system . What can I do to deploy or move files to the location my app expects (/etc/slurm/slurm.conf)?

I am happy using template stanza and then move the file? I call the Nomad api through terraform

thank you