"completing deletion from previous update" should be run last #9979
Labels
kind/enhancement
Improvements or new features
resolution/duplicate
This issue is a duplicate of another issue
Hello!
Issue details
I love the feature that pulumi first creates all new resources and schedules the deletion of resources at the very end. But it seems that it does not do this if the
pulumi up
failed for whatever reason. On the nextpulumi up
the scheduled deleted resources are process first before creating any new resources. This can lead to errors where the resources cannot be deleted yet.Take the next example:
pulumi up
and it starts with the scheduled deletion of the old resource A before doing any of the new work. But this new work would include updating resource B to use the replacement resource A. Since that hasn't run yet the deletion of the old resource A will fail as the cloud provider throws an error that this resource is still in use.Is there a way to postpone the deletions from previous updates until after all the "rolling forward" has been done and queue those for the same time as all the deletions that get discovered in the current run?
Affected area/feature
Scheduling of the deletion from previous updates
The text was updated successfully, but these errors were encountered: