Skip to content

Which dashboard resource should I use? #2216

Answered by rdhar
knnthmacpherson asked this question in Q&A
Discussion options

You must be logged in to vote

The easy answer is one_dashboard_json since that's the "officially" recommended approach. In practice, this method melds well with importing and exporting raw dashboard JSON from the UI. That being said, you do need to be a bit more cognizant of handling the JSON in a separate file referenced with templatefile (which is documented with examples).

This definitely supersedes one_dashboard_raw as that is a hybrid of both terraform and JSON mish-mashed together. It was introduced earlier as a stepping stone transitioning between the older REST API to GraphQL.

Finally, one_dashboard was (I think) the first implementation of dashboards within the provider. If you don't want to mess around with …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by knnthmacpherson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants