Skip to content

Commit

Permalink
Change VM type to e2-medium; define disk type and size
Browse files Browse the repository at this point in the history
  • Loading branch information
paseaf committed Jul 7, 2022
1 parent d41636b commit 8b4adac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ resource "google_compute_instance" "gateway_vm" {
boot_disk {
initialize_params {
image = "ubuntu-with-docker-image"
size = 20
type = "pd-balanced"
}
}

Expand Down Expand Up @@ -167,6 +169,8 @@ resource "google_compute_instance" "sacrificial_vm" {
boot_disk {
initialize_params {
image = "sacrificial-vm-image"
size = 20
type = "pd-balanced"
}
}

Expand All @@ -188,6 +192,7 @@ resource "google_compute_instance" "logger_vm" {
initialize_params {
image = "ubuntu-with-docker-image"
size = 200
type = "pd-balanced"
}
}

Expand Down
2 changes: 1 addition & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ variable "credentials" {

variable "machine_type" {
type = string
default = "e2-small"
default = "e2-medium"
}

0 comments on commit 8b4adac

Please sign in to comment.