terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[FEATURE] Add configurable timeouts and retries for timeout-prone resources
For resources such as databricks_groups
, for example, group and member listing can time out because of the sheer number of attributes that they enumerate. Multiple calls to these endpoints may lead to errors like
context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Use-cases
Organisations that manage groups and instance profiles in Databricks through Terraform.
Attempted Solutions
The only way we can do it right now is to re-run the configuration, hopefully, at a less busy period so API calls would not timeout.
Proposal
Add configurable timeouts and retries, similar to what is described in https://www.terraform.io/plugin/sdkv2/resources/retries-and-customizable-timeouts#resources-retries-and-customizable-timeouts
References
NA