From 597cf52ded237938f57027ab8607ff932caf41ed Mon Sep 17 00:00:00 2001 From: Sam Simpson Date: Thu, 22 Aug 2024 16:07:22 +0100 Subject: [PATCH] Set the TFC service account as CDN bigquery dataset's owner --- terraform/deployments/cdn-analytics/bigquery.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/deployments/cdn-analytics/bigquery.tf b/terraform/deployments/cdn-analytics/bigquery.tf index 497a211c7..eb52af071 100644 --- a/terraform/deployments/cdn-analytics/bigquery.tf +++ b/terraform/deployments/cdn-analytics/bigquery.tf @@ -5,7 +5,7 @@ resource "google_bigquery_dataset" "fastly_logs" { storage_billing_model = "PHYSICAL" access { - role = "roles/bigquery.admin" + role = "OWNER" user_by_email = "terraform-cloud-${var.govuk_environment}@${data.google_project.project.project_id}.iam.gserviceaccount.com" }