Skip to content

Commit 3bd7e45

Browse files
authored
fix(rbd): fix diff case for engine (#2725)
1 parent 4f95b4b commit 3bd7e45

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/services/rdb/instance.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ func ResourceInstance() *schema.Resource {
5353
DiffSuppressFunc: dsf.IgnoreCase,
5454
},
5555
"engine": {
56-
Type: schema.TypeString,
57-
Required: true,
58-
ForceNew: true,
59-
Description: "Database's engine version id",
56+
Type: schema.TypeString,
57+
Required: true,
58+
ForceNew: true,
59+
Description: "Database's engine version id",
60+
DiffSuppressFunc: dsf.IgnoreCase,
6061
},
6162
"is_ha_cluster": {
6263
Type: schema.TypeBool,
@@ -528,7 +529,6 @@ func ResourceRdbInstanceRead(ctx context.Context, d *schema.ResourceData, m inte
528529
if lbI, lbExists := flattenLoadBalancer(res.Endpoints); lbExists {
529530
_ = d.Set("load_balancer", lbI)
530531
}
531-
532532
return nil
533533
}
534534

0 commit comments

Comments
 (0)