-
Notifications
You must be signed in to change notification settings - Fork 4.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
Terraform plan fails when retrieving azurerm_kusto_database_principal_assignment when there are more than 300 permissions defined #21990
Comments
Hi @alex-slynko , thanks for raising this issue. From the error message, it looks like the root cause of this issue is API rate limitation of getting principal assignements. A potential solution is to retry after thottling, I will try to test it locally. In the meantime, I will try to contact Kusto team about whether they have a workaround. Thanks. |
Hi @alex-slynko sorry for the late response. Could you try the custom timeouts? It should solve you issue here. Thanks. |
The custom timeouts do not work for our case, since the timeout happens during |
@alex-slynko since this issue is using an older version of the Provider and these resources have since been switched over to using our new SDK and base layer, we should be handling these retries better (although I suspect the issue is the 5m read timeout, given the API throttling/limitations) - but it'd be good to confirm if that's the case with the latest base layer too - so would you mind upgrading to the latest version of the provider and confirming if that's still an issue for you? Thanks! |
@tombuildsstuff
|
One more annoying thing with this bug. |
Is there an existing issue for this?
Community Note
Terraform Version
1.4.4
AzureRM Provider Version
3.34+
Affected Resource(s)/Data Source(s)
azurerm_kusto_database_principal_assignment
Terraform Configuration Files
Debug Output/Panic Output
The HTTP response from the provider that fails
Expected Behaviour
Terraform plan succeeds
Actual Behaviour
Terraform plan fails.
Steps to Reproduce
terraform plan
on the workspace with defined permissionsImportant Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: