You will want to call mustache inside an apply. You will need to pass all of the Outputs you want to use in the mustache template to .all.apply - and then return the results of the mustache templating from the apply callback. The resulting output<string> you can pass as an input to some other resource.
See e.g. https://www.pulumi.com/docs/intro/concepts/programming-model/#all.
b
big-potato-91793
04/04/2020, 11:22 AM
Thx Luke, I found that page and I made something that works now! Thanks