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).
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.