iam and admin
Providers overview
GCP docs
compute instance
first example main.tf:
resource "google_compute_instance" "default" {
name = "test"
machine_type = "e2-micro"
zone = "europe-central1-a"
boot_disk {
initialize_parames{
image = "debian-cloud/debian-9"
}
}
}
terraform apply → execute a post to Google Cloud API
1