You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added field graceful_decomissioning_timeout to resource dataproc_cluster (#4078)
* Added field graceful_decomissioning_timeout to resource dataproc_cluster
* formating
* fix formatting concerns and removed api.yaml edits since resource is handwritten
Description: `The region in which the cluster and associated nodes will be created in. Defaults to global.`,
119
119
},
120
120
121
+
"graceful_decommission_timeout": {
122
+
Type: schema.TypeString,
123
+
Optional: true,
124
+
Default: "0s",
125
+
Description: `The timeout duration which allows graceful decomissioning when you change the number of worker nodes directly through a terraform apply`,
126
+
},
127
+
128
+
121
129
"labels": {
122
130
Type: schema.TypeMap,
123
131
Optional: true,
@@ -1250,9 +1258,13 @@ func resourceDataprocClusterUpdate(d *schema.ResourceData, meta interface{}) err
*`cluster_config` - (Optional) Allows you to configure various aspects of the cluster.
132
133
Structure defined below.
133
134
135
+
*`graceful_decommission_timout` - (Optional) Allows graceful decomissioning when you change the number of worker nodes directly through a terraform apply.
136
+
Does not affect auto scaling decomissioning from an autoscaling policy.
137
+
Graceful decommissioning allows removing nodes from the cluster without interrupting jobs in progress.
138
+
Timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs).
139
+
Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of
0 commit comments