This message was deleted.
# general
s
This message was deleted.
b
There's a
pulumi.isDryRun()
method you could use. Would that help?
l
Would defining your own dynamic ResourceProvider work? It has separate
create
and
diff
entrypoints...
One of the recommended use cases for it seems to match yours:
You need to integrate custom logic into the deployment workflow that runs exactly during one or more of the create, read, update, or delete steps, instead of running “always” as part of a normal Pulumi program.
t
Unfortuantely, C# doesn't have Dynamic Providers yet.
l
Then it would have to be
isDryRun
or a full provider.
t
Hmmm... now I need to figure out it's C# equivalent.
Found it:
Deployment.Instance.IsDryRun
👍 1