This message was deleted.
# general
s
This message was deleted.
w
I think you can basically ignore creating that method. As you suspected
diff()
is essentially the “R” in “CRUD” and is used as part of the update flow.
a
Normally in cRud I would write read() function to get information about resource or be informed that it doesn't exists. If in pulumi read() isn't used for that purpose, so what it's role?
My expectation would be that read() is used during update process to check whether resource exists and get its parameters to be passed for diff.
Also in docs there is written: "The 
read
 method is invoked when the Pulumi engine needs to get data about a resource that is not managed by Pulumi"
What does it mean: "not managed by Pulumi"? 🙂