From fc699b4ff20ab7f723f6f91cbcad7bc46e88dc69 Mon Sep 17 00:00:00 2001 From: Atishya Gupta <102506307+atishya-22@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:28:32 +0530 Subject: [PATCH] Suppress partition resource changed for TF for total_bytes prop Always return true to ignore TF resource change check on total_bytes field. --- sumologic/resource_sumologic_partition.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sumologic/resource_sumologic_partition.go b/sumologic/resource_sumologic_partition.go index 54145cb7..82f5a56a 100644 --- a/sumologic/resource_sumologic_partition.go +++ b/sumologic/resource_sumologic_partition.go @@ -50,6 +50,9 @@ func resourceSumologicPartition() *schema.Resource { "total_bytes": { Type: schema.TypeInt, Computed: true, + DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool { + return true + }, }, "data_forwarding_id": { Type: schema.TypeString,