From ac37418e75f8fb24da2efbf6c1356969605563ce Mon Sep 17 00:00:00 2001 From: Paddy Carver Date: Wed, 22 Jan 2020 13:24:24 -0800 Subject: [PATCH] Rever 2955 as it broke tests. This reverts the relevant parts of 2955, the customizediff changes. --- .../terraform/resources/resource_storage_bucket_acl.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/third_party/terraform/resources/resource_storage_bucket_acl.go b/third_party/terraform/resources/resource_storage_bucket_acl.go index b9d3ea6bf010..89edd1536180 100644 --- a/third_party/terraform/resources/resource_storage_bucket_acl.go +++ b/third_party/terraform/resources/resource_storage_bucket_acl.go @@ -62,13 +62,6 @@ func resourceStorageRoleEntityCustomizeDiff(diff *schema.ResourceDiff, meta inte conf := map[string]struct{}{} for i := 0; i < count; i++ { old, new := diff.GetChange(fmt.Sprintf("role_entity.%d", i)) - - // project-owners- is explicitly stripped from the roles that this - // resource will delete - if strings.Contains(old.(string), "OWNER:project-owners-") { - continue - } - state[old.(string)] = struct{}{} conf[new.(string)] = struct{}{} }