You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turn on debugging to observe what 403 errors are preventing destroy
Anything Else?
No response
References
No response
Help Wanted
I'm interested in contributing a fix myself
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
bearjaws
changed the title
Digital Ocean destroy times out when getting permission died
Digital Ocean destroy times out when getting permission denied
Nov 25, 2024
@DanielMSchmidt it is a permission error, but instead of showing a permission error, it times out after 60 seconds. Exiting with a timeout error, not a permission error.
Shouldn't an end user expect a permission error to show? I had to turn on trace debugging in order to find the error in the logs.
Expected Behavior
Should probably error out immediately with a permission denied error
Actual Behavior
Times out after 60 seconds, continues to long poll the droplet waiting for its state to change.
Steps to Reproduce
Turn on debugging and observe
Will then long poll waiting for the droplet state to change
Versions
language: typescript cdktf 0.20.10 node v20.12.0
do provider ^11.10.1
"registry.terraform.io/digitalocean/digitalocean": "2.44.1"
Providers
┌───────────────────────────┬──────────────────┬─────────┬────────────┬──────────────────────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├───────────────────────────┼──────────────────┼─────────┼────────────┼──────────────────────────────┼─────────────────┤
│ digitalocean/digitalocean │ 2.44.1 │ │ │ │ │
├───────────────────────────┼──────────────────┼─────────┼────────────┼──────────────────────────────┼─────────────────┤
│ digitalocean/digitalocean │ 2.44.1 │ ^0.20.0 │ │ @cdktf/provider-digitalocean │ 11.10.1 │
Gist
https://gist.github.com/bearjaws/fa7b3e8afc6955d4fc17ff486d64ddbf
Possible Solutions
Should detect 403 errors when calling DELETE
Workarounds
Turn on debugging to observe what 403 errors are preventing destroy
Anything Else?
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: