From 62fe98fb0af39004d9d4be04f8eec630ae37aa91 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 22 Jan 2019 16:53:36 -0800 Subject: [PATCH] Change default boot disk size to 15g for dataproc (#2911) /cc @chrisst --- google/resource_dataproc_cluster_test.go | 18 +++++++++--------- google/resource_dataproc_job_test.go | 2 +- website/docs/r/dataproc_cluster.html.markdown | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/google/resource_dataproc_cluster_test.go b/google/resource_dataproc_cluster_test.go index 7a3d86dc..9fa74418 100644 --- a/google/resource_dataproc_cluster_test.go +++ b/google/resource_dataproc_cluster_test.go @@ -861,7 +861,7 @@ resource "google_dataproc_cluster" "with_config_overrides" { machine_type = "n1-standard-1" disk_config { boot_disk_type = "pd-ssd" - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } @@ -920,7 +920,7 @@ resource "google_dataproc_cluster" "with_init_action" { master_config { machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } @@ -947,7 +947,7 @@ resource "google_dataproc_cluster" "updatable" { num_instances = "1" machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } @@ -955,14 +955,14 @@ resource "google_dataproc_cluster" "updatable" { num_instances = "%d" machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } preemptible_worker_config { num_instances = "%d" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } } @@ -999,7 +999,7 @@ resource "google_dataproc_cluster" "with_bucket" { master_config { machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } } @@ -1065,7 +1065,7 @@ resource "google_dataproc_cluster" "with_service_account" { master_config { machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } @@ -1141,7 +1141,7 @@ resource "google_dataproc_cluster" "with_net_ref_by_name" { master_config { machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } @@ -1167,7 +1167,7 @@ resource "google_dataproc_cluster" "with_net_ref_by_url" { master_config { machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } diff --git a/google/resource_dataproc_job_test.go b/google/resource_dataproc_job_test.go index 6932dc55..9128d6f2 100644 --- a/google/resource_dataproc_job_test.go +++ b/google/resource_dataproc_job_test.go @@ -497,7 +497,7 @@ resource "google_dataproc_cluster" "basic" { num_instances = 1 machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } } diff --git a/website/docs/r/dataproc_cluster.html.markdown b/website/docs/r/dataproc_cluster.html.markdown index 1a1f9fb3..66e808f4 100644 --- a/website/docs/r/dataproc_cluster.html.markdown +++ b/website/docs/r/dataproc_cluster.html.markdown @@ -43,7 +43,7 @@ resource "google_dataproc_cluster" "mycluster" { machine_type = "n1-standard-1" disk_config { boot_disk_type = "pd-ssd" - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 } } @@ -51,7 +51,7 @@ resource "google_dataproc_cluster" "mycluster" { num_instances = 2 machine_type = "n1-standard-1" disk_config { - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 num_local_ssds = 1 } } @@ -240,7 +240,7 @@ The `cluster_config.master_config` block supports: machine_type = "n1-standard-1" disk_config { boot_disk_type = "pd-ssd" - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 num_local_ssds = 1 } } @@ -292,7 +292,7 @@ The `cluster_config.worker_config` block supports: machine_type = "n1-standard-1" disk_config { boot_disk_type = "pd-standard" - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 num_local_ssds = 1 } } @@ -347,7 +347,7 @@ The `cluster_config.preemptible_worker_config` block supports: num_instances = 1 disk_config { boot_disk_type = "pd-standard" - boot_disk_size_gb = 10 + boot_disk_size_gb = 15 num_local_ssds = 1 } }