Skip to content

Commit

Permalink
kubernetes-public: Enable BigQuery Data Transfer
Browse files Browse the repository at this point in the history
Part of : kubernetes#1308
Ref: kubernetes#787
Followup of : kubernetes#2747

Enable GCP required service for data transfer

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
  • Loading branch information
ameukam committed Sep 17, 2021
1 parent 200132b commit fea2184
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions infra/gcp/bash/ensure-main-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ readonly MAIN_PROJECT_SERVICES=(
billingbudgets.googleapis.com
# We export billing data to bigquery
bigquery.googleapis.com
# We transfer data from other BigQuery datasets
bigquerydatatransfer.googleapis.com
# We use cloud asset inventory from this project to audit all projects
cloudasset.googleapis.com
# We require use of cloud shell to access clusters in this project
Expand Down
2 changes: 1 addition & 1 deletion infra/gcp/terraform/kubernetes-public/k8s-kettle.tf
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ resource "google_bigquery_data_transfer_config" "bq_data_transfer_kettle" {
data_source_id = "cross_region_copy"
destination_dataset_id = google_bigquery_dataset.prod_kettle_dataset.dataset_id
service_account_name = google_service_account.bq_kettle_data_transfer_writer.email
disabled = true
disabled = false

params = {
overwrite_destination_table = "true"
Expand Down

0 comments on commit fea2184

Please sign in to comment.