From d49786f11ea082c69881ec0cd0a2860a1222b000 Mon Sep 17 00:00:00 2001 From: Elise Alstad Date: Sun, 29 Sep 2024 09:37:35 +0200 Subject: [PATCH] change cluster size and machine --- main.tf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.tf b/main.tf index 49beeea..8469aa0 100644 --- a/main.tf +++ b/main.tf @@ -27,17 +27,17 @@ resource "google_dataproc_workflow_template" "template" { } master_config { num_instances = 1 - machine_type = "n1-standard-1" + machine_type = "n1-standard-2" disk_config { boot_disk_type = "pd-ssd" - boot_disk_size_gb = 20 + boot_disk_size_gb = 30 } } worker_config { num_instances = 3 - machine_type = "n1-standard-2" + machine_type = "n1-standard-2" disk_config { - boot_disk_size_gb = 15 + boot_disk_size_gb = 30 num_local_ssds = 2 } } @@ -58,4 +58,4 @@ resource "google_dataproc_workflow_template" "template" { main_python_file_uri = "gs://${google_storage_bucket.data_bucket.name}/main.py" } } -} \ No newline at end of file +}