09/06/2022, 9:43 AM
We are using a dynamic provider written in Python. In one instance, we want to delete a resource using the provider. The delete() method is implemented and has worked before, but we are now running into a problem. Due to refactoring, we now require additional props in the delete() method, that were not present when the resource was created. Thus it is not part of
in the resource's stack entry. How do I solve this cleanly? I'm guessing the correct way is to somehow update the state only, so that for the dynamic resource, the outputs are rewritten with the current inputs?