-
Notifications
You must be signed in to change notification settings - Fork 103
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
Inconsistent EC2 Instance Listing Across AWS Accounts #2299
Comments
Hi @ParthaI , just checking in on the status of this issue. Any updates or an ETA would be greatly appreciated, thanks! |
Apologies for the delay, @aswin-kevin. I haven’t had a chance to take a look at it yet, but I will update you as soon as I begin working on it. Thanks for your patience! |
Thanks for the immediate response @ParthaI. Appreciate it. |
Hey @ParthaI , I’ve found a solution to the issue I was facing. It turns out that my keys aren’t able to list EC2 instances from the ap-south-2 region due to a problem on our AWS side (which we’ll resolve soon). The issue occurs because I’ve set the regions to To address this, I added "AuthFailure" to the I was wondering if there’s a better way to achieve this? Additionally, I’d like to capture both the errors and the results if possible. The reason is, if in the future we encounter permission issues for a specific region or function, I’d like to be aware of the errors so we can enable the necessary permissions on our side. Thanks! |
Hi @aswin-kevin, great job identifying the root cause of the issue! Typically, we don't manage authentication or access-denied errors directly. Steampipe executes parallel API calls based on the regions you've configured in your
At the moment, there isn't a built-in way to capture both the errors and the results simultaneously. The best option available is the It might be useful to consider support for ignoring errors based on the
In such cases, while the error messages may differ, the error code ( That said, it looks like your current issue has been resolved. If you think adding support for ignoring the error by the error message might be helpful, feel free to raise a support request, and we’d be happy to assist further. Thank you! |
Hi @ParthaI I'm using the aws plugin postgres FDW. Looks like the regions and ignore_error_codes fields are not taken by the plugin. Does the aws postgres fdw supports ignore_error_codes and regions parameter ? In steampipe CLI everything works as expected after adding the ignore codes block. Currently the issue occurs in postgres FDW.
|
Ah, I see.
Yes, according to the documentation here, it should support those parameters. We’ll conduct further investigation and get back to you. For reference, here’s a related discussion in the community channel: https://turbot-community.slack.com/archives/C01UECB59A7/p1726235163173639 Thanks! |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Issue: Inconsistent EC2 Instance Listing Across AWS Accounts
I am using the AWS plugin for Steampipe, directly attached to a PostgreSQL database, and passing three temporary AWS credentials. I have multiple AWS accounts, each with the same IAM role attached via ARN, granting identical permissions.
After generating temporary credentials, I passed them to the PostgreSQL database using the following commands. I am able to successfully list S3 buckets and EC2 instances across most accounts, except for one specific AWS account, where I encounter the following error:
Commands to Attach Credentials to PostgreSQL:
Error Message:
Details:
us-west-2
and removing theignore_error_codes
option, but the issue persists.To ensure the credentials are valid and have sufficient permissions, I created my own Steampipe plugin using the same version of the AWS SDK as the
steampipe-plugin-aws
. Interestingly, using the same credentials with my custom plugin, I was able to list EC2 instances from all regions, but when usingsteampipe-plugin-aws
, the error occurs.Here is a link to my custom Steampipe plugin for listing EC2 instances: https://github.com/aswin-kevin/steampipe-plugin-quark
AWS Plugin version:
v0.145.0
Could you please provide guidance or help in resolving this inconsistency?
The text was updated successfully, but these errors were encountered: