-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
400
response when destroying aws_rds_cluster
not respected
#11378
Comments
Hi @WillSewell, thanks for the issue! I definitely believe that you're seeing a legitimate issue, however I cannot reproduce on |
Attempted to reproduce with |
I am also unable to reproduce this anymore. And I can't remember precisely what I was doing at the time, so I suspect the "Steps to Reproduce" might be incorrect. Maybe I had messed up my tfstate or fiddled manually with the AWS resources. Despite that, even if the underlying cause might have been my problem, I still think it is wrong that terraform ignores the 400 response from AWS, and continues attempting to destroy the resource in an infinite loop. |
@WillSewell, odd that I can't reproduce it, but I fully believe that error should be caught. I have a WIP changeset that will catch the |
Reproduced! Should have a fix in place soon. Thanks for your patience on this @WillSewell. |
Awesome. Good job. |
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. |
Terraform Version
0.8.4
Affected Resource(s)
aws_rds_cluster
Terraform Configuration Files
Debug Output
https://gist.github.com/WillSewell/7a6cc8e26e24bb1a49e2ecac47ca7ca3
Expected Behavior
Terraform received this error from AWS:
and should have reported this to the user and stopped running.
Actual Behavior
Instead it continues in an infinite loop (until timing out) waiting for the resource to become created.
Steps to Reproduce
terraform apply .
terraform destroy --target=aws_rds_cluster.feeds
The text was updated successfully, but these errors were encountered: