fresh-honey-15888
09/14/2021, 4:42 PMeval
trick works in the REPL but fails in Pulumi. I can cut-and-paste the error, but first wanted to make sure this wasn't a terrible idea. FWIW, this is just a personal setup, so I'm not super worried about how robust this is.steep-toddler-94095
09/14/2021, 5:41 PMconst drone = new nomad.Job("lightsoutgames-drone", { jobspec: readFileSync("lightsoutgames-drone.nomad").toString() })
fresh-honey-15888
09/14/2021, 6:14 PMsteep-toddler-94095
09/14/2021, 6:28 PMfresh-honey-15888
09/14/2021, 7:05 PMtoString()
. And again, `eval("``"+"${1+2}"+"``")` works in the REPL, so this should work for quick-and-dirty templating I'd think.steep-toddler-94095
09/14/2021, 8:38 PM