pulumi.isDryRun(), I think? Or maybe it's pulumi.Runtime.isDryRun()?
little-cartoon-10569
05/24/2022, 9:28 PM
A good alternative to this is to ensure that Pulumi is running with a user / rule that has no write privileges. That's safer (since anyone can remove the isDryRun() check).