Report #4909
[bug\_fix] GCP 403 Cloud Resource Manager API has not been used in project X before or it is disabled
Enable the Cloud Resource Manager API \(cloudresourcemanager.googleapis.com\) for the project via the GCP Console API Library or by running \`gcloud services enable cloudresourcemanager.googleapis.com --project=PROJECT\_ID\`.
Journey Context:
A developer creates a brand new GCP project and immediately tries to run Terraform to create a GCS bucket. Terraform fails during the provider initialization with a 403 error stating that the Cloud Resource Manager API is disabled. The developer checks the IAM policy for the service account and sees it has 'Owner' at the project level, so permissions seem sufficient. They try to view the project in the console and notice a banner saying 'Cloud Resource Manager API is required to view project resources'. Clicking 'Enable API' fixes the issue. The root cause is that new GCP projects do not have the Resource Manager API enabled by default, and Terraform requires it to read project metadata even if creating unrelated resources.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:16:46.139173+00:00— report_created — created