Add descriptive error message for SSA Patch delete for required fields #2107
Labels
area/server-side-apply
kind/enhancement
Improvements or new features
resolution/fixed
This issue was fixed
Milestone
Hello!
Issue details
Based on finding from #2104
In that bug report, the user was unable to delete a
DeploymentPatch
resource that had force-overwritten a required field. While this is expected behavior for SSA resources, it is likely to be a common point of misunderstanding that we could address with a descriptive error message that explains how to resolve the problem.There are a couple options, depending on the use case:
retainOnDelete
resource option, which will leave the resource unchanged and drop it from Pulumi management during apulumi destroy
operation.pulumi destroy
operation.The text was updated successfully, but these errors were encountered: