Closed egor-georgiev closed 2 years ago
Hi @Mongey. Did you have a chance to look at this PR? Does it need something before it can be merged?
@Mongey Is there a chance you can merge this PR and release it. We are facing the same issue when terraform times out if Confluent takes more than 20 minutes to provision a DEDICATED cluster.
As per Confluent documentation, provisioning of dedicated clusters can take up to 24 hours. However, provisioning of clusters failed at due to context deadline being exceeded after 20 minutes (as per tf documentation, it's a default). This PR by @borisnaydis tried to address the issue, but changes did not remediate it. This PR adds a configurable timeout parameter for creation of clusters, which defaults to 24 hours, but can be changed in the resource configuration (snippet below). Code is tested locally and with this change it is possible to provision larger clusters to confluent without facing a timeout at around 20 minutes.