We plan to be using Terraform to add folders and hosts to Check_MK. These API functions work fine.
Presently there is an activate_changes API call. I’d like to be able to do this via Terraform too, however Terraform will need to know if activation is actually required to maintain a consistent state.
Would it be possible to add a “get_changes” API call which returns a list (or even just a count) of pending changes, so that applications interfacing with Check_MK will know if a call to activate_changes is actually required?