mongodbatlas_cloud_backup_snapshot_restore_job should wait until the restore operation is complete
mongodbatlascloudbackupsnapshotrestorejob creates a job and returns immediately , but I think it should wait until the restore operation is complete. just like mongodbatlascluster that waits until the cluster is in ready state.

-
Monica commented
How can we undestand when the restore job has finished? the only way I can think of right now is a script that wait until the field 'finished_at' of the restore job is populated. But this is not a perfect solution...
-
Hi Mohammad, Thank you for the submission. Due to the variability of the length of restore jobs, some can take significant amounts of time, we currently have no plans to wait until the job is complete as users have specifically not wanted to wait on the return. If you can share more about your use case and how this would be helpful to you it would help.