Best Terraform module for automating Dynatrace dashboards

I am trying to automate the creation of dashboard in Dynatrace. what is the best tf module to use dynatrace_document or dynatrace_json_dashboard. I’ve been reading the dynatrace_json_dashboard only creates classic dashboards which soon be unsupported?