https://pulumi.com logo
#general
Title
# general
b

better-umbrella-26052

09/15/2023, 9:05 PM
Is there a handy way to block some Python code so it is only executed on
pulumi up
and not
pulumi preview
?
b

billowy-army-68599

09/15/2023, 9:07 PM
pulumi.runtime.is_dry_run()
b

better-umbrella-26052

09/15/2023, 9:08 PM
Thanks!