In a template stanza, when setting the data attribute for an external file with
file("somefile.txt"), I get the raw contents of the file, and no variable interpolation.
Terraform, for instance, has a function named
templatefile() where it actually works the interpolation.
Is there a way to load an external file and interpolate it with my job definition’s local variables?