From b642dfed86419bc8263916168773708e1455fe52 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Wed, 2 Feb 2022 21:52:50 +0000 Subject: [PATCH] Increase dataproc cluster timeouts to 45m (#5674) Signed-off-by: Modular Magician --- .changelog/5674.txt | 3 +++ google/resource_dataproc_cluster.go | 6 +++--- website/docs/r/dataproc_cluster.html.markdown | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .changelog/5674.txt diff --git a/.changelog/5674.txt b/.changelog/5674.txt new file mode 100644 index 00000000000..a41c4c7d8ca --- /dev/null +++ b/.changelog/5674.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +dataproc: increased the default timeout for `google_dataproc_cluster` from 20m to 45m +``` diff --git a/google/resource_dataproc_cluster.go b/google/resource_dataproc_cluster.go index 842246ce9c8..8acbdffaad6 100644 --- a/google/resource_dataproc_cluster.go +++ b/google/resource_dataproc_cluster.go @@ -71,9 +71,9 @@ func resourceDataprocCluster() *schema.Resource { Delete: resourceDataprocClusterDelete, Timeouts: &schema.ResourceTimeout{ - Create: schema.DefaultTimeout(20 * time.Minute), - Update: schema.DefaultTimeout(20 * time.Minute), - Delete: schema.DefaultTimeout(20 * time.Minute), + Create: schema.DefaultTimeout(45 * time.Minute), + Update: schema.DefaultTimeout(45 * time.Minute), + Delete: schema.DefaultTimeout(45 * time.Minute), }, Schema: map[string]*schema.Schema{ diff --git a/website/docs/r/dataproc_cluster.html.markdown b/website/docs/r/dataproc_cluster.html.markdown index 6b7218530c7..071d281e791 100644 --- a/website/docs/r/dataproc_cluster.html.markdown +++ b/website/docs/r/dataproc_cluster.html.markdown @@ -707,6 +707,6 @@ This resource does not support import. This resource provides the following [Timeouts](/docs/configuration/resources.html#timeouts) configuration options: -- `create` - Default is 20 minutes. -- `update` - Default is 20 minutes. -- `delete` - Default is 20 minutes. +- `create` - Default is 45 minutes. +- `update` - Default is 45 minutes. +- `delete` - Default is 45 minutes.