Hi guys!
I have a pulumi python code that deploys some resources and exports the output using “pulumi.export”. I want to output those exports to a file, but when trying the python native “with open write” function, it only writes the Output as for the preview (“None”). i can do it with the “pulumi stack output” call, but this way only works after the resources have been deployed. I need the export to the file to happen as soon as the Pulumi code runs (meaning inside the code). can anyone help?