Hi there - Using the automation API, is there any way to know my execution context(up, preview, destroy) within my Program? I am trying to limit when an Output.apply() is executed so that is will only be executed on
I am using a Python program. I am currently passing in an ENVVAR with the execution context and reading that in with the program, but that doesn’t feel very kosher.
08/29/2022, 2:34 PM
There is a is_dry_run properly in the Pulumi sdk
08/29/2022, 2:46 PM
And that is set based on if its a preview vs up/destroy im inferring?