-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Error creating ConsumerQuotaOverride: googleapi: Error 404: No quota limit with limitId #16934
Comments
@duxbuse it works fine for me with below config. Can you try it? resource "google_service_usage_consumer_quota_override" "override" {
provider = google-beta
project = "myproject"
service = "servicemanagement.googleapis.com"
metric = urlencode("servicemanagement.googleapis.com/default_requests")
limit = urlencode("/min/project")
override_value = "0"
force = true
} |
@edwardmedia That snippet you gave runs fine. but the vertex ai quotas do not. |
Yup this works fine gcloud alpha services quota create \
--service=aiplatform.googleapis.com --consumer=projects/myproject \
--metric=aiplatform.googleapis.com/online_prediction_requests_per_base_model \
--unit=1/min/{project}/{region}/{base_model} \
--value=0 \
--force |
@duxbuse what is the value for {base_model} in your case? Using below script, I receive the same error
|
its a dimension field. so can be lots of values??? In my use case I want them all, cause I essentially want to disable llm's |
I see. Thank you @duxbuse Below api call is working.
Currently the provider builds this format for the url. The POST body is different too.. We may want to review both. |
Hi @edwardmedia any update on this one? |
Waiting for update. I got same error as above. |
Any update on this one? Waiting for a fix :-) |
I agree with @edwardmedia. I suspect this is caused by using I don't know how you would make this change backwards compatible though. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
And also getting the same with
Terraform Plan
Output
Expected Behavior
Should have created the quota override
running:
I can see that
unit: 1/min/{project}/{region}/{base_model}
for bothmetric: aiplatform.googleapis.com/generate_content_requests_per_minute_per_project_per_base_model
andmetric: aiplatform.googleapis.com/online_prediction_requests_per_base_model
Steps to Reproduce
terraform apply
Important Factoids
It also doesn't work with any of the below
References
Its likley quite similar to this issue #12253
As
aiplatform.googleapis.com
is quite a new api so might behave differently.b/320650559
The text was updated successfully, but these errors were encountered: