-
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
Precondition failed for billing account = bad error #1892
Comments
Does the error that comes back from the GCP API contain enough information to know that the error is related to exhausted quota? If you post debug logs I can go ahead and modify the output to be more helpful. :) |
@ndmckinley I don't currently have a billing account with insufficient quota, but I do know that gcloud is able to return a verbose error in this case (similar to #1903). |
yes it does, here is the error:
|
It looks like the API now returns a proper error message, so I'm going to close this and related issues. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Affected Resource(s)
Expected Behavior
When I create a project and attempt to associate billing, if my billing account doesn't have sufficient quota I should get a "precondition failed error" which references that my quota is exhausted.
Actual Behavior
The error is "precondition failed" but doesn't specify what the failed precondition is.
Steps to Reproduce
Attempt to create a new project on a billing account (via Terraform) which doesn't have any quota left.
The text was updated successfully, but these errors were encountered: