feat(mongodb): set point_in_time_window_hours as required (#860)

* feat(mongodb): set point_in_time_window_hours as required

* docs update
This commit is contained in:
Marcel Jacek 2025-05-23 14:06:13 +02:00 committed by GitHub
parent 9b1c658575
commit a47fac0ae7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 9 deletions

View file

@ -291,8 +291,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
},
"point_in_time_window_hours": schema.Int64Attribute{
Description: descriptions["point_in_time_window_hours"],
Optional: true,
Computed: true,
Required: true,
PlanModifiers: []planmodifier.Int64{
int64planmodifier.UseStateForUnknown(),
},