# yaml


11/08/2023, 12:44 AM
Question - using read file fn’s with yaml, is there a way to have pulumi yaml interpret variable templating in the additional file. Example if I have a query.sql reference using readFile , if the sql code uses the variable ${project} , is there a way for Pulumi to replace those values.
Is there any pre-step in pulumi preview and up that interprets and includes the external files, renders the complete yaml and then runs the preview or up.
Does something like that happen with the passing down of variable references generally before preview and up?