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,230 points
6,021 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,440 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,230 points
1,329 views
0 votes
1 answer

Error: Error putting object in S3 bucket (example11225588): AccessDenied: Access Denied

Hi@akhtar, To upload your file in the s3 ...READ MORE

answered Jun 11, 2020 in Terraform by MD
• 95,440 points
2,611 views
+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 23, 2020 in GCP by MD
• 95,440 points
534 views
+2 votes
1 answer

How to activate GCP Cloud Shell?

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

answered Aug 23, 2020 in GCP by akhtar
• 38,230 points
1,900 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 23, 2020 in GCP by MD
• 95,440 points
3,633 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,440 points
12,775 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,440 points
775 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP