https://pulumi.com logo
Title
a

average-article-76176

03/17/2022, 7:32 PM
noob question that I couldn't find in the documentation or searching slack: What's the difference between: •
update
replace
create-replacement
delete-replaced
I imagine the end result is the same, but these look like important concepts to understand when using Pulumi. (currently getting all 3 when doing
pulumi up --diff
).
1
e

echoing-dinner-19531

03/17/2022, 9:29 PM
I don't think this is actually well documented anywhere... update = A field on the resource has been changed replace = We've deleted a resource and replaced it with a new one create-replacement = This is the create side of a replace, the replacement resource just created delete-replaced = This is the delete side of a replace, the original resource that's just been deleted
a

average-article-76176

03/17/2022, 9:34 PM
Awesome info, thank you! Suggestion (if you work for Pulumi): Add this to the documentation 😉
👍 1
e

echoing-dinner-19531

03/17/2022, 10:44 PM
a

average-article-76176

03/17/2022, 11:38 PM
Tx! Added some more info in the ticket too.