hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.27k stars 1.71k forks source link

Resource to export billing data to bigquery #4848

Open umairidris opened 4 years ago

umairidris commented 4 years ago

Community Note

Description

Adding a resource to automate creation of https://cloud.google.com/billing/docs/how-to/export-data-bigquery through Terraform.

New or Affected Resource(s)

Potential Terraform Configuration

resource google_billing_export "export" {
  billing_account_id = "123"
  bigquery_dataset_id = ${google_bigquery_dataset.foo_dataset.dataset_id}
}

NOTE: Currently there doesn't seem to be an API for this.

b/323501367

danawillow commented 4 years ago

Marking as blocked upstream since we can only add support for resources that have APIs we can call.

paulowe commented 3 years ago

Agree, @umairidris . How do you configure this on terraform?

JordanP commented 2 years ago

The Cloud Console seems to make a POST request to some GraphQL api calling the UpdateBigQueryExportSpecification function.

ebeltramo96 commented 1 year ago

Any news on this thread? I'm in the need of having this too

lemoo5sg commented 1 year ago

Any news on this thread?

deens-cyera commented 2 months ago

Any new on this thread?