Introduce conditional delete before replace for select resources #2596
Labels
awaiting/bridge
The issue cannot be resolved without action in pulumi-terraform-bridge.
blocked
The issue cannot be resolved without 3rd party action.
kind/enhancement
Improvements or new features
Consider introducing conditional delete-before-replace plans that would suggest to that Pulumi should delete first, and create later when replacing a resource when particular sensitive properties change.
Affected resources:
We tried enabling delete-before-replace as the default strategy for these resources but decided to revert his behavior as it may not be appropriate for all users, for example for the compute instance resource, delete-before-replace may reduce liveness/availability and are not ideal for every update, see:
Instead of doing that, the suggestion is to identify the specific properties that require this treatment, build the bridge support so allow specifying this behavior per-property, and rolling forward:
pulumi/pulumi-terraform-bridge#2605
References
#73
#190
The text was updated successfully, but these errors were encountered: