Skip to content

IAmFrench/terraform-google-cloud-carbon-footprint-export

Repository files navigation

Google Cloud Carbon Footprint export Terraform Module

This module for GCP will create both BigQuery dataset and data Transfert for your Cloud Carbon Footprint export.

Please note that the transfer config does not automatically export historical data. To request historical data back to January 2021, schedule a data backfill.

Learn more: https://cloud.google.com/carbon-footprint/docs/export

Requirements

Name Version
terraform >= 1.1.0
google >= 4.58.0

Providers

Name Version
google >= 4.58.0

Modules

No modules.

Resources

Name Type
google_bigquery_data_transfer_config.cloud_carbon_footprint_export resource
google_bigquery_dataset.cloud_carbon_footprint_dataset resource

Inputs

Name Description Type Default Required
billing_account_ids billing account ID or a comma-separated list of billing account IDs. string n/a yes
cloud_carbon_footprint_dataset_location Location used for BigQuery CLoud Carbon Footprint datasets. string "eu" no
cloud_carbon_footprint_export_dataset_id Dataset ID used for the cloud carbon footprint export. string "cloud_carbon_footprint_export" no
cloud_carbon_footprint_project_id Project ID used for hosting BigQuery cloud carbon footprint datasets. string n/a yes

Outputs

No outputs.