Skip to content

Commit fc699b4

Browse files
authored
Suppress partition resource changed for TF for total_bytes prop
Always return true to ignore TF resource change check on total_bytes field.
1 parent d5f2129 commit fc699b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sumologic/resource_sumologic_partition.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ func resourceSumologicPartition() *schema.Resource {
5050
"total_bytes": {
5151
Type: schema.TypeInt,
5252
Computed: true,
53+
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
54+
return true
55+
},
5356
},
5457
"data_forwarding_id": {
5558
Type: schema.TypeString,

0 commit comments

Comments
 (0)