File size: 444 Bytes
b110593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
resource "google_compute_instance" "default" {
  name         = "automated-loadtest"
  machine_type = var.machine_type
  zone         = "us-central1-a"

  tags = ["automated-loadtest"]

  boot_disk {
    initialize_params {
      image = "debian-cloud/debian-11"
      size = 100
      type = "pd-ssd"
    }
  }

  network_interface {
    network = "default"

    access_config {
      // Ephemeral public IP
    }
  }
}