terraform-provider-databricks icon indicating copy to clipboard operation
terraform-provider-databricks copied to clipboard

[FEATURE] Add configurable timeouts and retries for timeout-prone resources

Open iandexter opened this issue 2 years ago • 0 comments

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

iandexter avatar Sep 09 '22 17:09 iandexter