Skip to content

Commit 139fb7b

Browse files
add diff suppress for analytics tier
1 parent 11e7ada commit 139fb7b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sumologic/resource_sumologic_partition.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ func resourceSumologicPartition() *schema.Resource {
3333
"analytics_tier": {
3434
Type: schema.TypeString,
3535
Optional: true,
36+
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
37+
if strings.ToLower(old) == strings.ToLower(new) {
38+
return true
39+
}
40+
return false
41+
},
3642
},
3743
"retention_period": {
3844
Type: schema.TypeInt,

0 commit comments

Comments
 (0)