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: Sweeper failure #34659

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

r/aws_s3_directory_bucket: Sweeper failure #34659

ewbankkit opened this issue Nov 30, 2023 · 3 comments · Fixed by #34647
Labels
service/s3 Issues and PRs that pertain to the s3 service. sweeper Pertains to changes to or issues with the sweeper.
Milestone

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented Nov 30, 2023

% make sweep SWEEP=us-west-2 SWEEPARGS=-sweep-run=aws_s3_directory_bucket
# make sweep SWEEPARGS=-sweep-run=aws_example_thing
# set SWEEPARGS=-sweep-allow-failures to continue after first failure
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./internal/sweep -v -sweep=us-west-2 -sweep-run=aws_s3_directory_bucket -timeout 360m
2023/11/30 11:08:14 [DEBUG] Running Sweepers for region (us-west-2):
2023/11/30 11:08:14 [DEBUG] Sweeper (aws_s3_directory_bucket) has dependency (aws_s3_object), running..
2023/11/30 11:08:14 [DEBUG] Running Sweeper (aws_s3_object) in region (us-west-2)
2023/11/30 11:08:14 [DEBUG] sweeper: Configuring Terraform AWS Provider: sweeper_region=us-west-2
2023-11-30T11:08:14.052-0500 [DEBUG] sweeper.aws-base: Resolving credentials provider: sweeper_region=us-west-2
2023-11-30T11:08:14.052-0500 [DEBUG] sweeper.aws-base: Loading configuration: sweeper_region=us-west-2
2023-11-30T11:08:14.053-0500 [DEBUG] sweeper.aws-base: Retrieving credentials: sweeper_region=us-west-2
2023-11-30T11:08:14.053-0500 [INFO]  sweeper.aws-base: Retrieved credentials: sweeper_region=us-west-2 tf_aws.credentials_source=EnvConfigCredentials
2023-11-30T11:08:14.053-0500 [DEBUG] sweeper.aws-base: Loading configuration: sweeper_region=us-west-2
2023/11/30 11:08:14 [DEBUG] sweeper: Creating AWS SDK v1 session: sweeper_region=us-west-2
2023/11/30 11:08:14 [DEBUG] sweeper: Retrieving AWS account details: sweeper_region=us-west-2
2023-11-30T11:08:14.053-0500 [DEBUG] sweeper.aws-base: Retrieving caller identity from STS: sweeper_region=us-west-2
2023-11-30T11:08:14.438-0500 [INFO]  sweeper.aws-base: Retrieved caller identity from STS: sweeper_region=us-west-2
...
2023/11/30 11:08:24 [DEBUG] Completed Sweeper (aws_s3_object) in region (us-west-2) in 9.977745736s
2023/11/30 11:08:24 [ERROR] Error running Sweeper (aws_s3_object) in region (us-west-2): error sweeping S3 Objects (us-west-2): 1 error occurred:
	* deleting S3 Bucket (tf-acc-001--usw2-az1--x-s3) objects: operation error S3: ListObjectVersions, https response error StatusCode: 501, RequestID: 0033eada6b00018c20fd0cc305095c70eb6cbbad, HostID: e8ByF, api error NotImplemented: This bucket does not support Object Versioning.

FAIL	github.com/hashicorp/terraform-provider-aws/internal/sweep	15.074s
FAIL
make: *** [sweep] 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: Sweeper fails r/aws_s3_directory_bucket: Sweeper failure Nov 30, 2023
@github-actions github-actions bot added the sweeper Pertains to changes to or issues with the sweeper. label Nov 30, 2023
@ewbankkit ewbankkit added the service/s3 Issues and PRs that pertain to the s3 service. label Nov 30, 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
service/s3 Issues and PRs that pertain to the s3 service. sweeper Pertains to changes to or issues with the sweeper.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant