Yeah - the great thing about having real code is that you can use whatever templating and file system libraries you want on the language you are using. So you can open a file and use mustache templates if you want, or any other form of templating.
The only Pulumi specific thing to keep in mind is that you’ll want to instantiate and return the template from inside an
(where you can get ahold of the output values).
04/02/2020, 8:31 AM
Just in case someone needs a pointer, Here’s how I did it for a Linux VM creation in Typescript:
Look at the