Unable to setup GCP Billing account due to error
search cancel

Unable to setup GCP Billing account due to error

book

Article ID: 386239

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

During GCP Billing account setup the following error may appear:

"Issue: The BigQuery Project ID, Dataset, Table are not configured.
Recommendation: Please make sure the BigQuery Project ID, Dataset and Table are correct

Resolution

This error is usually seen if the json key uploaded belongs to a different project and does not belong to the project ID  used while creating the billing account.



In Service Account section, select Choose file and upload the JSON private key. When you use a JSON key, CloudHealth verifies that the project ID in the JSON key matches the ID of the project to which you are attaching the credentials.

Configure Automated Billing Account in CloudHealth

You need to configure only the billing account.  CloudHealth discovers all derived projects associated with the billing account that have incurred costs.

  1. Log in to the CloudHealth platform and from the left menu, select Setup > Accounts > GCP Billing.  Then click Add Account.
  2. Enter all the information from the text document into the appropriate fields.
  3. In Service Account section, select Choose file and upload the JSON private key.  The you use a JSON key, CloudHealth verifies that the project ID in the JSON key matches the ID of the project to which you are attaching the credentials.
  4. If you want to use different service accounts to collect billing statements, select the Enable a separate service account for projects linked to this billing account. (Optional) checkbox.  Select Choose file and upload the JSON private key for the derived projects.  This option should be used if you want to use different service accounts for billing data collection and asset metadata collection.
  5. Click Save Account

CloudHealth validates new Google Service Accounts and derived projects every 4 hours.  You can view derived projects by going to Setup > Accounts > GCP Project.  Projects you enable in the CloudHealth Platform change status from Not Configured to Green, Yellow, Red, or Pening.

NOTE:  The newly configured GCP billing accounts will be onb0arded automatically, and within 48 hours you will see the cost data in the CloudHealth platform.