Configure GCP Provider in Terraform

In the "Code Editor" tab, open the provider.tf file.

Your task: Configure the GCP provider with a service account key file located at ./service-account-key.json, project ID my-gcp-project, region us-central1, and enable the Compute Engine API (compute.googleapis.com) with required scopes for cloud platform access.

GitOps Repository

  • 📁 /root/learn-terraform-gcp-provider
    • 📄 provider.tf

Code Editor

Terminal