delightful-camera-97029
04/19/2023, 8:05 AMpulumi up
and all three resources deployed successfully
Now, I modify the pulumi program and it only have
• resource A
• resource B
If I do pulumi destroy
will it destroy all three resource or just the two and leave resource C un handled?echoing-dinner-19531
04/19/2023, 8:31 AMdestory
is entirely based on state, not the program. So if you haven't run up since you modified the program destroy will delete all three.
Sounds like you might want to look at setting the retain on delete option.delightful-camera-97029
04/19/2023, 8:39 AM