Skip to content

Commit

Permalink
change cluster size and machine
Browse files Browse the repository at this point in the history
  • Loading branch information
lalelisealstad committed Sep 29, 2024
1 parent 85de012 commit d49786f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand All @@ -58,4 +58,4 @@ resource "google_dataproc_workflow_template" "template" {
main_python_file_uri = "gs://${google_storage_bucket.data_bucket.name}/main.py"
}
}
}
}

0 comments on commit d49786f

Please sign in to comment.