Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Terraform Export of NEW Dashboards App.

tthi
Newcomer

Hi all,

 

Just wondering if anyone has had luck exporting dashboards from the new dashboard app? I'm running -export -import-state and it's giving me dashboard and json_dashboard modules. I am able to see dashboards created in the classic dashboards app but not the new one.

2 REPLIES 2

sujit_k_singh
Advisor

@tthi 

The Terraform export showing only dashboard/json_dashboard means you’re exporting Dashboards Classic. For the new Dashboards app, use the Terraform dynatrace_document resource, which manages dashboards stored in the Document Service. Classic dashboards = dynatrace_json_dashboard; new dashboards = documents (type dashboard)
 
Dynatrace Professional Certified

Thanks @sujit_k_singh!

Looks like we had the right permissions already for OAuth but used the personal tokens instead. Not sure if there is a guide which highlights this, but finding the guide from DT for Terraform quite lacklustre 

Featured Posts