destroy
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Terraform still needs the provider configuration that was used to create the resource, even during destruction.
If you removed or renamed a provider after resources were created, Terraform can no longer manage them. This often happens after refactoring modules or cleaning up unused providers too early.
Reintroducing the provider temporarily allows Terraform to finish cleanup safely.
Takeaway: Never remove a provider until all resources using it are gone.