Hi, anyone knows a way within an Inline Python pro...
# python
a
Hi, anyone knows a way within an Inline Python program to detect if we are running 'preview' or 'up' ? I have some custom actions within the stack I would ideally only execute during 'up' but not during 'preview' so to NOT alter anything during 'preview'. Thx
b
Copy code
if pulumi.runtime.is_dry_run():
a
Awesome. Works like a charm. Thx.