From f7e265858c3374112f465b84ffe947dc2ab50510 Mon Sep 17 00:00:00 2001 From: Umair Idris Date: Thu, 23 Apr 2020 00:21:27 -0400 Subject: [PATCH] fix: Switch default access to use legacy role (#60) Per https://github.com/terraform-providers/terraform-provider-google/issues/5350#issuecomment-607533636 we will keep seeing diffs on every apply if we set an IAM role here as the bigquery API always returns legacy role. NOTE: This does *not* cause a breaking change and in fact will prevent users from seeing an unexpected diff if using the BQ module with access unset. --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 0712b752..4105ab8a 100644 --- a/variables.tf +++ b/variables.tf @@ -66,7 +66,7 @@ variable "access" { # At least one owner access is required. default = [{ - role = "roles/bigquery.dataOwner" + role = "OWNER" special_group = "projectOwners" }] }