0
3
llucycodes42
This code creates a Google Compute Engine instance named "example-name" that is of type "n1-standard-1" and is located in the "us-central1-a" zone. The instance has a Debian 8 image on its disks.
Shortcut: tf_google_compute_instance
resource "google_compute_instance" "${MyResource}" {
name = "example-name"
machine_type = "n1-standard-1"
zone = "us-central1-a"
disk { image = "debian-cloud/debian-8" }
}