-
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
Documentation for google_identity_platform_config quotas is not correct. #16172
Documentation for google_identity_platform_config quotas is not correct. #16172
Comments
@archimed-shaman what do you see if you completely remove quota {
sign_up_quota_config {
quota = 1000
quota_duration = "7200s"
}
} I do see the example contains
What do you see in its plan even you leave
|
If you leave off Error: Error updating Config "projects/{project_name}/config": googleapi: Error 400: INVALID_CONFIG : SignUp quota must start between now and 365 days from now. One way to fix it when you need to have a specific quota is to use: quota {
sign_up_quota_config {
quota = 1000
start_time = timeadd(timestamp(), "1m") # 1 minute in the future because by the time it executes in GCP this time will be in the past (increase depending on typical GCP execution)
quota_duration = "7200s"
}
} Otherwise remove the entire quota block to just use defaults which is 100. While the documentation is incorrect, I believe the behavior is correct. The documentation should show that |
Hi, I know it's kinda not for this, but where do we set this quota in GCP console? I can't find this anywhere, in API quoatas and system limtis for identity toolkit there's nothing related to this sign up quota. I would love to verify the setting in console but I don't see it anywhere in the UI is it this one: New account creation | 100 accounts/hour for each IP address |
Hi @alexkirmse I am using the timestamp() function without the timeadd function, which works too.
The timestamp value will be (known after apply).
|
Regarding my previous comment. I found out this quota in UI. |
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
Terraform v1.5.7
on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Description
Quota description in the example and in the description is not correct.
While
start_time
is specified as optional, the following error occurs on the empty or absent value:start_time
looks to be mandatory for this section and must be a timestimp like2023-10-07T22:38:23Z
.Also, looks like
quota_duration
is mandatory too as it has no default value. On empty value the following error occurs:b/304233470
The text was updated successfully, but these errors were encountered: