-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
DigitalOcean destroy does not handle 404 on droplet #3670
Comments
@clstokes this is because the DigitalOceanDropletRead has the following logic
The string is hard coded and may have changed when we moved to the Official DigitalOcean Goclient I will submit a PR now to fix this |
@stack72, ah, that makes sense. Is the response code (404) available on the |
That Clint is a clever one. 😉 |
Merged #3768 |
I'm still getting this error. |
Terraform version 0.6.8 |
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
If I create a DigitalOcean droplet with Terraform, then remove the droplet via the DigitalOcean web console, a
terraform destroy
fails with a 404 error and won't continue. Other Terraform providers seem to handle this case by handling the 404 as a successful destroy and continuing on.Tested with Terraform v0.6.6.
Terraform config:
Abridged Terraform output...
The text was updated successfully, but these errors were encountered: