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

NoSuchBucket Error when querying aws_s3_bucket Table #2344

Open
dbermuehler opened this issue Nov 26, 2024 · 0 comments
Open

NoSuchBucket Error when querying aws_s3_bucket Table #2344

dbermuehler opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dbermuehler
Copy link
Contributor

Describe the bug
Queries against the aws_s3_bucket table sometimes produce NoSuchBucket errors. While the exact circumstances of this bug are not clear to me, I assumed, that S3 is following an eventually-consistent data model. However, I learned that this is not the case (see here), leaving me with no explanation for this bug at the moment. Right now I fixed the issue for me, by ignoring this error type in my plugin config file for all my connection. However, it would be better if this error could be caught and ignored by default, to make the AWS plugin more robust.

Steampipe version (steampipe -v)
Example: v1.0.1

Plugin version (steampipe plugin list)
Example: v1.4.0

To reproduce
This is hard to reproduce since the circumstances on when this issue appears are not 100% clear to me. My best guess on how to reproduce it would be to have a query running against an AWS account in which a lot of S3 bucket activity (creation / deletion of buckets) is going on.

Expected behavior
No error occurs and the bucket is just ignored.

Additional context
This problem was briefly discussed in this Slack thread with @cbruno10.

@dbermuehler dbermuehler added the bug Something isn't working label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants