-
Notifications
You must be signed in to change notification settings - Fork 188
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
KeyError: 'flaggedResources' #337
Comments
@agassner Hmm... this is a new one to me, I've never seen it before. My guess is that either it's some strange intermittent failure, or the Trusted Advisor API changed suddenly and they didn't tell anyone... Since I know that I can't reproduce this in any of the accounts that I have access to, I'm going to work on a script that you can run to capture some better debugging information... |
@agassner Do you think that you could please run the script in this Gist in the same pyenv as awslimitchecker, and paste either the output or at least the last line ("CHECK RESULT:")? |
@jantman sure, not a problem.
|
Hmm, that's very strange indeed. I've never seen that check with I'll do my best to get a fix for this out this afternoon/evening or tomorrow evening. In the mean time, if you don't need the Trusted Advisor data, you can run with the flag to disable Trusted Advisor. |
Thanks @jantman I have a quick fix for this on agassner@878a7c3#diff-90133b65e9bab3d9751e1ffc5ce1522aR175 I can send you a PR later if you want. I need to read the PR guidelines first :) |
@agassner Sorry for the delay on this. Thanks for all of the assistance. I should have a fix released today or tomorrow. |
fixes #337 - handle Trusted Advisor broken checks
This has been released in 4.0.1 and is now live on PyPI. |
… status not_available or missing flaggedResources key
KeyError: 'flaggedResources' when running on an account with Trusted Advisor and Business Support.
Version
Installation Method
Using pyenv.
pip install awslimitchecker
Supporting Software Versions
Code
Actual Output
The text was updated successfully, but these errors were encountered: