Lab Error: #GSP750 Infrastructure as Code with Terraform

In the lab #GSP750 i am continuously getting this error and i can't get rid off no matter whatever i do

 

google_compute_network.vpc_network: Creating...

│ Error: Error creating Network: Post https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-00-114b53eb7117/global/networks?alt=json: oauth2/google: invalid token JSON from metadata: EOF

│ with google_compute_network.vpc_network,
│ on main.tf line 17, in resource "google_compute_network" "vpc_network":
│ 17: resource "google_compute_network" "vpc_network" {

 

 

 

PLS HELP!!

Solved Solved
1 2 1,688
1 ACCEPTED SOLUTION

Dear Suryansh_Rai,

There is some problem with authentification of a service account for this labs - see below: https://stackoverflow.com/questions/64741286/error-when-creating-gcp-vpc-with-terraform-cannot-fetch...

I also hope you run thsi lab in the Google Cloud Console.

If you cannot fix this problem (see the link, they tried to find and correct a path to key.json file), then you better contact the Qwiklab Support.

Best,

MC

View solution in original post

2 REPLIES 2

Dear Suryansh_Rai,

There is some problem with authentification of a service account for this labs - see below: https://stackoverflow.com/questions/64741286/error-when-creating-gcp-vpc-with-terraform-cannot-fetch...

I also hope you run thsi lab in the Google Cloud Console.

If you cannot fix this problem (see the link, they tried to find and correct a path to key.json file), then you better contact the Qwiklab Support.

Best,

MC

hello did you find a solution ? can u help me

Top Labels in this Space