User Tools

Site Tools


terraform:gcp

authentication

iam and admin

Terraform Providers

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

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
terraform/gcp.txt · Last modified: 2024/11/10 08:01 by 127.0.0.1