Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yu-iskw/terraform-google-copy-bq-datasets
A terraform module to copy BigQuery datasets across regions
https://github.com/yu-iskw/terraform-google-copy-bq-datasets
bigquery data-engineering google-cloud terraform
Last synced: about 1 month ago
JSON representation
A terraform module to copy BigQuery datasets across regions
- Host: GitHub
- URL: https://github.com/yu-iskw/terraform-google-copy-bq-datasets
- Owner: yu-iskw
- License: apache-2.0
- Created: 2021-09-17T07:02:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-18T13:30:12.000Z (almost 2 years ago)
- Last Synced: 2024-10-27T16:59:02.510Z (3 months ago)
- Topics: bigquery, data-engineering, google-cloud, terraform
- Language: HCL
- Homepage: https://registry.terraform.io/modules/yu-iskw/copy-bq-datasets/google/latest
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-google-copy-bq-datasets
[![Lint terraform files](https://github.com/yu-iskw/terraform-google-copy-bq-datasets/actions/workflows/lint.yml/badge.svg)](https://github.com/yu-iskw/terraform-google-copy-bq-datasets/actions/workflows/lint.yml)This is a terraform module to copy BigQuery datasets across regions.
- [Copying datasets](https://cloud.google.com/bigquery/docs/copying-datasets)
## How to use
```terraform
module "copy_dataset" {
source = "git::[email protected]:yu-iskw/terraform-google-copy-bq-datasets.git?ref=v0.2.0"source_dataset = {
project_id = "source-project"
dataset_id = "source_dataset"
location = "US"
}
destination_dataset = {
project_id = "destination-project"
dataset_id = "destination_dataset"
location = "asia-northeast1"
}
# The service account has to have permissions to run Data Transfer jobs and create
# datasets in the destination project and permissions to read the source dataset.
service_account = "[email protected]"
}
```