https://pulumi.com logo
d

damp-jelly-5493

04/30/2020, 8:08 AM
In both Python and Golang, the exports are programmatic - eg, in Python, you call
pulumi.export('public_ip', server.public_ip)
. For
<reasons>
, I could do with doing a similar sort of thing in TypeScript - is there any way of getting TS to create outputs with a pulumi method rather than the
export const public_ip = server.public_up
?
f

faint-table-42725

04/30/2020, 5:59 PM
In case others on Slack are following, depending on what you’re trying to do, I updated the issue you created with an example that might help https://github.com/pulumi/pulumi/issues/4528