Does anybody know if there currently is a mechanis...
# general
r
Does anybody know if there currently is a mechanism to refresh custom dynamic providers that were serialized as part of a stack? I have an error in a delete function and would like to fix it without having to delete everything manually...
w
I don't believe there is any automatic refresh. What happens when you try to fix the delete function and then
update
? That should in principle get you into a state where you can then remove the resources or
destroy
to invoke the new delete function. But there may be more subtleties there.
r
In the meantime I just removed the resources from the stack file and reimported it and then removed the corresping objects manually. I'd imagine that fixing the function in the stack file would work, but since it seems to be compiled javascript instead of typescript that wouldn't really be a smooth and simple workflow either 😉
w
Glad you found a way to get unblocked! As I noted in another thread just now - definitely planning on getting some more docs on dynamic providers out including tips on workflow for situations like this.
r
Cool, looking forward to that. I was able to get two dynamic providers working by studying the examples and a little bit of trial and error, however. A few more details and tips and tricks would certainly help though