Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamfrench/terraform-google-billing-export
Terraform module witch creates billing export on GCP.
https://github.com/iamfrench/terraform-google-billing-export
gcp google-billing google-cloud terraform terraform-module
Last synced: 1 day ago
JSON representation
Terraform module witch creates billing export on GCP.
- Host: GitHub
- URL: https://github.com/iamfrench/terraform-google-billing-export
- Owner: IAmFrench
- License: apache-2.0
- Created: 2023-03-23T22:07:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T01:01:04.000Z (almost 2 years ago)
- Last Synced: 2024-12-26T03:22:32.366Z (about 2 months ago)
- Topics: gcp, google-billing, google-cloud, terraform, terraform-module
- Language: HCL
- Homepage: https://registry.terraform.io/modules/IAmFrench/billing-export/google/latest
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Cloud Billing export Terraform Module
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: https://github.com/hashicorp/terraform-provider-google/issues/4848
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.1.0 |
| [google](#requirement\_google) | >= 4.58.0 |## Providers
| Name | Version |
|------|---------|
| [google](#provider\_google) | >= 4.58.0 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [google_bigquery_dataset.detailed_billing_export_dataset](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/bigquery_dataset) | resource |
| [google_bigquery_dataset.standard_billing_export_dataset](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/bigquery_dataset) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [billing\_dataset\_location](#input\_billing\_dataset\_location) | Location used for BigQuery billing datasets. | `string` | n/a | yes |
| [billing\_project\_id](#input\_billing\_project\_id) | Project ID used for hosting BigQuery billing datasets. | `string` | n/a | yes |
| [detailed\_billing\_export\_dataset\_id](#input\_detailed\_billing\_export\_dataset\_id) | Dataset ID used for the detailed billing export. | `string` | `"detailed_billing_export"` | no |
| [standard\_billing\_export\_dataset\_id](#input\_standard\_billing\_export\_dataset\_id) | Dataset ID used for the standard billing export. | `string` | `"standard_billing_export"` | no |## Outputs
No outputs.