Skip to content

Commit 838dcec

Browse files
testchange
1 parent 4f3b5be commit 838dcec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sumologic/resource_sumologic_partition.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func resourceSumologicPartition() *schema.Resource {
4242
return new == "-1" && old != ""
4343
},
4444
},
45-
"is_compliant": {
45+
"is_compliantt": {
4646
Type: schema.TypeBool,
4747
Optional: true,
4848
Default: false,
@@ -71,6 +71,7 @@ func resourceSumologicPartition() *schema.Resource {
7171
Type: schema.TypeBool,
7272
Description: "Indicates whether the partition is included in the default search scope. Configuring this property is exclusively permitted for flex partitions.",
7373
Optional: true,
74+
Default: true,
7475
},
7576
},
7677
}
@@ -113,7 +114,7 @@ func resourceSumologicPartitionRead(d *schema.ResourceData, meta interface{}) er
113114
d.Set("name", spartition.Name)
114115
d.Set("analytics_tier", spartition.AnalyticsTier)
115116
d.Set("retention_period", spartition.RetentionPeriod)
116-
d.Set("is_compliant", spartition.IsCompliant)
117+
d.Set("is_compliantt", spartition.IsCompliant)
117118
d.Set("data_forwarding_id", spartition.DataForwardingId)
118119
d.Set("is_active", spartition.IsActive)
119120
d.Set("total_bytes", spartition.TotalBytes)
@@ -146,7 +147,7 @@ func resourceToPartition(d *schema.ResourceData) Partition {
146147
RoutingExpression: d.Get("routing_expression").(string),
147148
AnalyticsTier: d.Get("analytics_tier").(string),
148149
RetentionPeriod: d.Get("retention_period").(int),
149-
IsCompliant: d.Get("is_compliant").(bool),
150+
IsCompliant: d.Get("is_compliantt").(bool),
150151
DataForwardingId: d.Get("data_forwarding_id").(string),
151152
IsActive: d.Get("is_active").(bool),
152153
TotalBytes: d.Get("total_bytes").(int),

0 commit comments

Comments
 (0)