https://pulumi.com logo
b

bland-byte-34481

01/26/2021, 11:57 PM
is there any setting / env variable that will let me know when the program is running in preview mode?
l

little-cartoon-10569

01/26/2021, 11:58 PM
pulumi.isDryRun()
. It's true for preview. I think it's also true for
up
during the pre-deploy phase?
b

bland-byte-34481

01/27/2021, 12:35 AM
hope so! i'll test it out right now - thanks @little-cartoon-10569!