Terraform module witch creates billing export on GCP.
This module will create BigQuery datasets for both standard and detailed billing exports.
You will need to complete the setup by manually linking in the Google Cloud console dataset ids to billing exports. (As there is not API / Terraform resource yet).
Learn more: https://cloud.google.com/billing/docs/how-to/export-data-bigquery-setup
Feature Request: https://issuetracker.google.com/issues/70525274
GitHub issue: hashicorp/terraform-provider-google#4848
Name | Version |
---|---|
terraform | >= 1.1.0 |
>= 4.58.0 |
Name | Version |
---|---|
>= 4.58.0 |
No modules.
Name | Type |
---|---|
google_bigquery_dataset.detailed_billing_export_dataset | resource |
google_bigquery_dataset.standard_billing_export_dataset | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
billing_dataset_location | Location used for BigQuery billing datasets. | string |
n/a | yes |
billing_project_id | Project ID used for hosting BigQuery billing datasets. | string |
n/a | yes |
detailed_billing_export_dataset_id | Dataset ID used for the detailed billing export. | string |
"detailed_billing_export" |
no |
standard_billing_export_dataset_id | Dataset ID used for the standard billing export. | string |
"standard_billing_export" |
no |
No outputs.