diff --git a/.changelog/6175.txt b/.changelog/6175.txt new file mode 100644 index 00000000000..45aaa58e21f --- /dev/null +++ b/.changelog/6175.txt @@ -0,0 +1,3 @@ +```release-note:bug +filestore: fixed a case where `google_filestore_instance.networks.network` would incorrectly see a diff between state and config when the network `id` format was used +``` diff --git a/google/resource_filestore_instance.go b/google/resource_filestore_instance.go index 23cbaf5bcb2..b085c66a1fb 100644 --- a/google/resource_filestore_instance.go +++ b/google/resource_filestore_instance.go @@ -152,9 +152,10 @@ IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4" }, }, "network": { - Type: schema.TypeString, - Required: true, - ForceNew: true, + Type: schema.TypeString, + Required: true, + ForceNew: true, + DiffSuppressFunc: compareSelfLinkOrResourceName, Description: `The name of the GCE VPC network to which the instance is connected.`, },