Automating the Deployment of Infrastructure Using Terraform

Опубликовано: 03 Июль 2026
на канале: Zaki Merdeka Sejati
1,047
15

IF YOU FACE THIS ERROR :
│ Error: project: required field is not set

│ with google_compute_network.mynetwork,
│ on mynetwork.tf line 2, in resource "google_compute_network" "mynetwork":
│ 2: resource "google_compute_network" "mynetwork" {

SOLUTION :
gcloud config set project [YOUR GCP PROJECT ID]

Overview
Terraform enables you to safely and predictably create, change, and improve infrastructure. It is an open-source tool that codifies APIs into declarative configuration files that can be shared among team members, treated as code, edited, reviewed, and versioned.