replace dataproc preview version (#2048)

This commit is contained in:
Dana Hoffman 2018-09-13 13:06:33 -07:00 committed by GitHub
parent fe3e7a7d83
commit 58ca18e2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -360,7 +360,7 @@ func TestAccDataprocCluster_withImageVersion(t *testing.T) {
Config: testAccDataprocCluster_withImageVersion(rnd),
Check: resource.ComposeTestCheckFunc(
testAccCheckDataprocClusterExists("google_dataproc_cluster.with_image_version", &cluster),
resource.TestCheckResourceAttr("google_dataproc_cluster.with_image_version", "cluster_config.0.software_config.0.image_version", "preview"),
resource.TestCheckResourceAttr("google_dataproc_cluster.with_image_version", "cluster_config.0.software_config.0.image_version", "1.3.7-deb9"),
),
},
},
@ -915,7 +915,7 @@ resource "google_dataproc_cluster" "with_image_version" {
cluster_config {
software_config {
image_version = "preview"
image_version = "1.3.7-deb9"
}
}
}`, rnd)

View File

@ -58,7 +58,7 @@ resource "google_dataproc_cluster" "mycluster" {
# Override or set some custom properties
software_config {
image_version = "preview"
image_version = "1.3.7-deb9"
override_properties = {
"dataproc:dataproc.allow.zero.workers" = "true"
}
@ -324,7 +324,7 @@ The `cluster_config.software_config` block supports:
cluster_config {
# Override or set some custom properties
software_config {
image_version = "preview"
image_version = "1.3.7-deb9"
override_properties = {
"dataproc:dataproc.allow.zero.workers" = "true"
}