Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
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!
Post