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

AWS API rate exceeded - operations failing blindly #32

Open
Alfaj0r opened this issue Apr 3, 2024 · 3 comments
Open

AWS API rate exceeded - operations failing blindly #32

Alfaj0r opened this issue Apr 3, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Alfaj0r
Copy link

Alfaj0r commented Apr 3, 2024

I just ran table_tagger.py against a few hundred DynamoDB tables. The console output made me feel like a real DevOps champion, having logs that every single one of my tables was tagged.

However, I reviewed CloudTrail logs and found that my work had not happened as fatefully as I had thought. Almost half of the calls logged some sort of error...
image

Drilling down for all the errors, they are all the same:
image
image

The script needs to be enhanced so that:

  1. it does not log successes for API calls that were not successfully executed
  2. it does not exceed the rate limits for the AWS API
@switch180 switch180 added the bug Something isn't working label Apr 4, 2024
@LeeroyHannigan
Copy link
Contributor

Is your requirement for tagging the tables for granular cost in Cost Explorer, if so, there is no longer a need to do this. I'll update the READ ME later this week.

@Alfaj0r
Copy link
Author

Alfaj0r commented Apr 4, 2024

Hey @LeeroyHannigan thanks for taking a look.
You might be thinking about the available "Resource" extra breakdown in cost-explorer, but that's only good for 2 weeks...
image

I want this to run for longer-term analysis too.

Is this what you were thinking about?

@LeeroyHannigan
Copy link
Contributor

Yes exactly what I was thinking about. We need to take in the throttling for tagging resources, once I have some bandwidth I'll take a look.

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

3 participants