Skip to content

Instantly share code, notes, and snippets.

@nakamasato
Created June 13, 2022 20:58
Show Gist options
  • Save nakamasato/20198b2d2c7b3cfbd33f0e497cd14f89 to your computer and use it in GitHub Desktop.
Save nakamasato/20198b2d2c7b3cfbd33f0e497cd14f89 to your computer and use it in GitHub Desktop.
GCP BigQuery dataset
resource "google_bigquery_dataset" "test_dataset" {
dataset_id = "test_dataset"
friendly_name = "test_dataset"
description = "This is a test dataset"
location = "asia-northeast1"
labels = {
terraform = "true"
}
access { // for workbench
role = "READER"
user_by_email = google_service_account.workbench-default.email
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment