From 01c0b7ea5a3ffba4ad9f53fb029a458d9f5a880f Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Thu, 3 Sep 2020 21:32:36 +0000 Subject: [PATCH] clustering is no longer ForceNew (#3949) Signed-off-by: Modular Magician --- .changelog/3949.txt | 3 +++ google-beta/resource_bigquery_table.go | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .changelog/3949.txt diff --git a/.changelog/3949.txt b/.changelog/3949.txt new file mode 100644 index 0000000000..7dbb82c5b4 --- /dev/null +++ b/.changelog/3949.txt @@ -0,0 +1,3 @@ +```release-note:bug +bigquery: fixed bug where updating `clustering` would force a new resource rather than update. +``` diff --git a/google-beta/resource_bigquery_table.go b/google-beta/resource_bigquery_table.go index 3aada3d601..222827b49e 100644 --- a/google-beta/resource_bigquery_table.go +++ b/google-beta/resource_bigquery_table.go @@ -474,7 +474,6 @@ func resourceBigQueryTable() *schema.Resource { "clustering": { Type: schema.TypeList, Optional: true, - ForceNew: true, MaxItems: 4, Description: `Specifies column names to use for data clustering. Up to four top-level columns are allowed, and should be specified in descending priority order.`, Elem: &schema.Schema{Type: schema.TypeString},