adamant-father-26302
08/12/2025, 10:25 AMDryRun
is true
, in this guide, https://www.pulumi.com/docs/iac/extending-pulumi/build-a-provider/ in the example code, it returns empty state in the Update
function, and only ID
defined in the Create
function. But theres no more explanation around what to return when DryRun
is true
, only that you have to return early.
Is there some more explanation somewhere on this?echoing-dinner-19531
08/12/2025, 11:16 AMpulumi preview
so you shouldn't do any actual resource operations.
The example as given works, but its not optimal because it means all outputs will be unknown at preview time, even those that aren't being changed.
Unfortunately I don't know if it's possible to support partial unknowns in the go provider SDK. Hopefully someone else can chime in on that.adamant-father-26302
08/12/2025, 11:18 AMechoing-dinner-19531
08/12/2025, 11:22 AMadamant-father-26302
08/12/2025, 11:34 AMadamant-father-26302
08/12/2025, 11:34 AMechoing-dinner-19531
08/12/2025, 11:36 AMechoing-dinner-19531
08/12/2025, 11:37 AM