Skip to content
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

r/aws_s3_directory_bucket: Emptying bucket using force_destroy fails #34643

Closed
ewbankkit opened this issue Nov 29, 2023 · 3 comments · Fixed by #34647
Closed

r/aws_s3_directory_bucket: Emptying bucket using force_destroy fails #34643

ewbankkit opened this issue Nov 29, 2023 · 3 comments · Fixed by #34647
Labels
bug Addresses a defect in current functionality. service/s3 Issues and PRs that pertain to the s3 service.
Milestone

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented Nov 29, 2023

% make testacc TESTARGS='-run=TestAccS3DirectoryBucket_forceDestroy' PKG=s3                      
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 20  -run=TestAccS3DirectoryBucket_forceDestroy -timeout 360m
=== RUN   TestAccS3DirectoryBucket_forceDestroy
=== PAUSE TestAccS3DirectoryBucket_forceDestroy
=== CONT  TestAccS3DirectoryBucket_forceDestroy
    testing_new.go:90: Error running post-test destroy, there may be dangling resources: exit status 1
        
        Error: emptying S3 Directory Bucket (tf-acc-test-4909154517133118279--usw2-az1--x-s3)
        
        listing S3 bucket (tf-acc-test-4909154517133118279--usw2-az1--x-s3) object
        versions: operation error S3: ListObjectVersions, https response error
        StatusCode: 501, RequestID: 0033eada6b00018c1ccf7cba0509724434a98ed7, HostID:
        ntUmMpYS0G8HIL45hp, api error NotImplemented: This bucket does not support
        Object Versioning.
--- FAIL: TestAccS3DirectoryBucket_forceDestroy (24.22s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/s3	29.512s
FAIL
make: *** [testacc] Error 1
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • 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.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@ewbankkit ewbankkit changed the title r/aws_s3_directory_bucket: Emptying bucket using force_destroy fails r/aws_s3_directory_bucket: Emptying bucket using force_destroy fails Nov 29, 2023
@ewbankkit ewbankkit added bug Addresses a defect in current functionality. service/s3 Issues and PRs that pertain to the s3 service. labels Nov 29, 2023
@github-actions github-actions bot added this to the v5.29.0 milestone Nov 30, 2023
Copy link

github-actions bot commented Dec 1, 2023

This functionality has been released in v5.29.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

github-actions bot commented Jan 1, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/s3 Issues and PRs that pertain to the s3 service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant