Minimum Oplog Retention Period - Set Minimum Oplog Window
The documentation states: "New in version 4.4: Starting in MongoDB 4.4, you can specify the minimum number of hours to preserve an oplog entry." https://www.mongodb.com/docs/manual/core/replica-set-oplog/#minimum-oplog-retention-period
The mongodbatlas_cluster resource in the terraform mongodbatlas provider only provides for the oplog_size_mb argument. https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cluster#oplog_size_mb
It would be nice to have that exposed so that terraform can update that value.
AdminZuhair (Admin, MongoDB) commented
Thanks Gary for sharing feedback! Generally before we expose a new feature in Terraform we like to make it available first in the Atlas Admin API which I believe doesn't yet expose minimum number of hours to preserve an oplog entry. Sharing your feedback with Atlas team in case we can expose in our API first and then could be worthwhile feature to add to Terraform (as well as Atlas CLI and CloudFormation as well). Hope this helps.(Edited by admin)