This message was deleted.
# general
s
This message was deleted.
b
You're probably going to want to use the automation api for this.
p
cool! thanks!
i'll give it a try and comeback 👍
c
Copy code
endpoint.apply(e => new Promise(resolve => exec('yarn', ['build', '--env', `--endpoint_url=${e}`))
Something along the lines of that
https://github.com/pulumi/pulumi/issues/99 - this is the issue tracking actual support
p
this sounds more reasonable to me, that it can be integreated seamlessly within the pulumi up flow
thanks!
p
you might also want to combine it with
isDryRun()
to not execute it while doing a preview https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/runtime/#isDryRun
p
now working! thank you guys