Hi guys, I'm working on a Dynamic Provider for a c...
# python
s
Hi guys, I'm working on a Dynamic Provider for a cloud service operating via REST API that is usually used with a GUI webapp. There is a chance a user might delete a resource manually, so I'd like to detect it while running
pulumi refresh
. I've tried to add an error code handling in the
read
method of the providers, but returning empty (or containing None)
ReadResult
does not work. How should it be handled? Or should it be handled at all? Can someone point me to some helpful resources?