Pulumi doesn't have a remote-file-reading feature, that's not really in Pulumi's sphere of influence. You can read the file using your language's other libraries or built-in features, then use the resulting string in the normal way.
little-cartoon-10569
07/11/2022, 9:16 PM
RemoteAsset is for setting up a file on a remote machine, not for reading a file's contents.