mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-01 16:21:06 +00:00
replace dataproc preview version (#2048)
This commit is contained in:
parent
fe3e7a7d83
commit
58ca18e2bf
@ -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)
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user