Hi@akhtar,
You can use the google_compute_instance resource in Terraform. This resource has the capability to launch an instance n GCP Cloud. You can see the below example.
resource "google_compute_instance" "vm_instance" {
name = "terraform-instance"
machine_type = "f1-micro"
zone = "us-central1-a"
boot_disk {
initialize_params {
image = "debian-cloud/debian-9"
}
}
network_interface {
# A default network is created for all GCP projects
network = "default"
access_config {
}
}