-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin panics while destroying instance group manager #14516
Plugin panics while destroying instance group manager #14516
Comments
Hi @nicolaferraro, so sorry you're running into this issue! I think I see where the problem is, and I can put in a fix for this, but for documentation purposes I want to do my own stack-trace here. The panic comes here because To get to that point, we start in Delete, and This bring us into that function, where the function You'll see in So we go there and see the call to I'll fix this so we check It's not the same exact problem as this issue, but its similar in the sense that we need to be careful how we're reusing the (and sorry, I realized after the fact that my stack trace above is with the regional instance manager, but it applies to the instance manager as well) |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
v1.2.9
Affected Resource(s)
Terraform Configuration Files
Panic happens on
terraform destroy -refresh=false
when the resource is not found.Debug Output
https://gist.github.com/nicolaferraro/5fa20c6fe3058ea5ec37234c734a1a04
Panic Output
Expected Behavior
Should not panic and not fail because the resource is already deleted.
Actual Behavior
Panic.
Steps to Reproduce
terraform apply
terraform destroy -refresh=false
The text was updated successfully, but these errors were encountered: