Skip to content

Commit

Permalink
Increase dataproc cluster timeouts to 45m (#5674) (#4027)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Feb 2, 2022
1 parent eb396b5 commit 73db072
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .changelog/5674.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
dataproc: increased the default timeout for `google_dataproc_cluster` from 20m to 45m
```
6 changes: 3 additions & 3 deletions google-beta/resource_dataproc_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,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{
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/dataproc_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 73db072

Please sign in to comment.