-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Unable to load up certain aws.service-quota Service Codes with Cloud Custodian #6964
Comments
I also experienced the same issue as you described.
Below is my environment.
|
The c7n Quotas module seems to be called by specifying the query period as 24h when calling the get_metric_statistics function. So I changed the query period of the get_metric_statistics function to 15 minutes, and so far, I do not have a problem. Do you have any ideas? |
I updated the version of Cloud Custodian and it seems to have the same metrics not working |
Same error appears when setting the get_metric_statistics to 1 second |
Is this bug associated with this PR? #7103 |
Sorry for the late response but yes |
FYI, created a new PR #7140 to clear the CLA |
Describe the bug
In my org, I'm using Cloud Custodian to check the AWS service quotas. I have a script that goes through all the aws.service-quota servicecodes by updating a yml file then a runs the
custodian run -s log -c <yml file> -r us-<region> -v
for each of the service codes. Each loop of the script it runs one servicecode at a time.The issue I'm facing that that, there are some service codes that still have this error:
Error:
botocore.errorfactory.InvalidParameterCombinationException: An error occurred (InvalidParameterCombination) when calling the GetMetricStatistics operation: You have requested up to 86400 datapoints, which exceeds the limit of 1440. You may reduce the datapoints requested by increasing Period, or decreasing the time range.
The service codes are:
Is there a way to have these service codes be able to be checked?
What did you expect to happen?
These and the rest of the service codes to run and email with services that hot the AWS limits
Cloud Provider
Amazon Web Services (AWS)
Cloud Custodian version and dependency information
Policy
No response
Relevant log/traceback output
Error: botocore.errorfactory.InvalidParameterCombinationException: An error occurred (InvalidParameterCombination) when calling the GetMetricStatistics operation: You have requested up to 86400 datapoints, which exceeds the limit of 1440. You may reduce the datapoints requested by increasing Period, or decreasing the time range.
Extra information or context
Yml file
Python Script
The text was updated successfully, but these errors were encountered: