I am attempting to shut down an ec2 instance with a dynamic resource dependency. The dynamic resource implementation is buggy, so destroy()
always returns an error code and aborts the shutdown.
I have fixed the destroy()
implementation, but I am unable to deploy the new provider instance because the old implementation keeps on getting used. What options are available in this case? Do I need to manually shut down the instance myself in order to deploy a new instance?