Skip to content

Commit 049a3b6

Browse files
update dataproc cluster image version (#5930) (#4213)
* update dataproc cluster image version * update to 2.0.35 Signed-off-by: Modular Magician <[email protected]>
1 parent 41ab905 commit 049a3b6

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

.changelog/5930.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_dataproc_cluster_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ func TestAccDataprocCluster_withImageVersion(t *testing.T) {
558558
t.Parallel()
559559

560560
rnd := randString(t, 10)
561-
version := "2.0-debian10"
561+
version := "2.0.35-debian10"
562562

563563
var cluster dataproc.Cluster
564564
vcrTest(t, resource.TestCase{

google-beta/resource_dataproc_workflow_template_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ func TestAccDataprocWorkflowTemplate_basic(t *testing.T) {
1515
context := map[string]interface{}{
1616
"random_suffix": randString(t, 10),
1717
"project": getTestProjectFromEnv(),
18+
"version": "2.0.35-debian10",
1819
}
1920

2021
vcrTest(t, resource.TestCase{
@@ -71,7 +72,7 @@ resource "google_dataproc_workflow_template" "template" {
7172
num_instances = 2
7273
}
7374
software_config {
74-
image_version = "1.3.7-deb9"
75+
image_version = "%{version}"
7576
}
7677
}
7778
}

website/docs/r/dataproc_cluster.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ resource "google_dataproc_cluster" "mycluster" {
7373
7474
# Override or set some custom properties
7575
software_config {
76-
image_version = "1.3.7-deb9"
76+
image_version = "2.0.35-debian10"
7777
override_properties = {
7878
"dataproc:dataproc.allow.zero.workers" = "true"
7979
}
@@ -470,7 +470,7 @@ will be set for you based on whatever was set for the `worker_config.machine_typ
470470
cluster_config {
471471
# Override or set some custom properties
472472
software_config {
473-
image_version = "1.3.7-deb9"
473+
image_version = "2.0.35-debian10"
474474
475475
override_properties = {
476476
"dataproc:dataproc.allow.zero.workers" = "true"

website/docs/r/dataproc_workflow_template.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ resource "google_dataproc_workflow_template" "template" {
4646
num_instances = 2
4747
}
4848
software_config {
49-
image_version = "1.3.7-deb9"
49+
image_version = "2.0.35-debian10"
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)