Error Error loading zone us-central1-a googleapi Error 403 Permission denied on resource project Nadeem-gcp-production forbidden

0 votes

Hi Guys,

I am trying to launch one instance in Google cloud using Terraform. But I am getting the below error.

Error: Error loading zone 'us-central1-a': googleapi: Error 403: Permission denied on resource project Nadeem-gcp-production., forbidden 
Sep 11, 2020 in Terraform by akhtar
• 38,180 points
1,053 views

1 answer to this question.

0 votes

Hi@akhtar,

It seems you didn't enable a billing account for your project. Without a billing account, you can not do anything in your project. So go to your GCP console and enable the billing account for your project.  

answered Sep 12, 2020 by MD
• 95,140 points
For my project billing acocunt is enabled , even after that am facing the same issue

***********************************************

google_compute_instance.vm_instance: Creating...

Error: Error loading zone 'europe-west1-b': googleapi: Error 403: Permission denied on resource project {{pj-becfr-postgresql-dev}}., forbidden

  on gcp.tf line 6, in resource "google_compute_instance" "vm_instance":
   6: resource "google_compute_instance" "vm_instance" {

*********************************************************
Hi,

There may be a problem with your Terraform code. Can you share your script?

Related Questions In Terraform

0 votes
1 answer

How to set an IAM policy for a project in GCP using Terraform?

Hi@akhtar, You can create a policy and give ...READ MORE

answered Sep 13, 2020 in Terraform by akhtar
• 38,180 points
191 views
0 votes
1 answer
+2 votes
1 answer

How to create a project in GCP Cloud?

Hi@akhtar, To deploy your app on App Engine, ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 95,140 points
105 views
+2 votes
1 answer

How to activate GCP Cloud Shell?

Hi@MD, You can follow the below steps to ...READ MORE

answered Aug 22, 2020 in GCP by akhtar
• 38,180 points
138 views
+2 votes
1 answer

How to list down all the projects in GCP Cloud?

Hi@akhtar, GCP Shell has a command named gcloud. ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 95,140 points
143 views
0 votes
1 answer

Error refreshing state: AccessDenied: Access Denied status code: 403

Hi@akhtar, I also faced the same issue. Then ...READ MORE

answered Sep 9, 2020 in Terraform by MD
• 95,140 points
2,637 views
0 votes
1 answer

Create a project in GCP using Terraform.

Hi@akhtar, Terraform has a resource named google_project. This ...READ MORE

answered Sep 13, 2020 in Terraform by MD
• 95,140 points
173 views