-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Deleting ACM certificate fails with ResourceInUseException by a deleted ELB. #3866
Comments
Certainly seems like a reasonable request! For starters we can simply retry around |
Yep. Thank you! |
+1 Seeing the exact same thing. |
The retry logic (for up to 10 minutes) has been merged into master via #3868 and will release in v1.12.0 of the AWS provider, likely 🔜 . 🎉 |
This has been released in version 1.12.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
This is still an issue in v1.41 10min is not long enough. |
Just hit this issue. Can we configure the timeout length? |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
We are seeing an issue with using acm certificates during
terraform destroy
where the certificate is still seen as in use by a load balancer that was just deleted. Due to eventually consistent apis, this error makes sense. In the way that the iam certificates retry deletion when the error is due to the resource still being in use, would it be possible to PR the same functionality for acm certificates during deletion?Terraform Version
Terraform v0.11.3
AWS Provider v1.11.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
It should have deleted the acm certificate.
Actual Behavior
It didn't. It requires a second
terraform destroy
for the certificate to be deleted.Steps to Reproduce
terraform apply
terraform destroy
References
hashicorp/terraform#3898
The text was updated successfully, but these errors were encountered: