https://pulumi.com logo
#getting-started
Title
# getting-started
t

thousands-area-40147

07/12/2022, 8:51 AM
And another thing, is there a way to check during execution whether we're in the
preview
or in the
up
phase? Some sort of context maybe?
l

limited-rainbow-51650

07/12/2022, 12:19 PM
You have the
isDryRun
function on the Pulumi runtime. Here is the link to the NodeJS version of the call: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/runtime/#isDryRun
1
3 Views