Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.