-
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
[Bug]: s3: cannot delete versioned bucket with DeleteMarkers only #34789
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
@zarnovican Thanks for raising this issue. |
Before raising the issue, I did review existing tickets, but it didn't occur to me to review also closed ones. Sorry for the noise and thanks for fixing it. |
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. |
Terraform Core Version
1.3.9
AWS Provider Version
5.29.0
Affected Resource(s)
Expected Behavior
terraform destroy
should delete the bucketActual Behavior
terraform destroy
loops endlesslyRelevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
The problem seems to be triggered, when there are only
DeleteMarkers
on versioned bucket. In the reproducer, I have uploaded and deleted a single file.It looks like, this issue was introduced in 5.29.0. My reproducer does not work on 5.28.0.
Workaround:
Delete the DeleteMarkers manually:
References
Could be related to #34647 (based on reading the release-notes).
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: