Converts Datadog resource JSON into Terraform alarm code.
How to Use
1. Create your monitor or dashboard in the Datadog UI and copy the JSON.
2. Open the extension, fill in the resource name and paste in the JSON.
3. Paste the resulting code into your terraform file and run `terraform fmt` (you can automate this with editor plugins)
And that's it.
Latest reviews
- (2023-07-12) Sebastian Feduniak: I think it should be either updated or deleted from the web store. It doesn't work with the current version of datadog. It's not able to translate dashboard json into terraform. So it doesn't provide its core functionality.
- (2021-11-02) Thank you!
- (2021-10-12) Thierry Nowak: Really useful! Thanks!
Latest issues
- (2022-03-03, v:3.6.0) Eric Wahl: Does not support formulas?
ERROR: Can't convert key 'formulas' My source dashboard JSON uses a formula and looks like this snippet: "requests": [ { "formulas": [ { "formula": "query1" } ], The conversion script fails to convert with the error "Can't convert key 'formulas'" - (2021-11-25, v:3.6.0) Anagha Bhosale: Tried to create monitor using the plugin but it does not work
Any suggestion if I am missing anything? - (2021-08-11, v:3.6.0) Ahmad Asi: Not working with self created dashboards
It's working fine with build in dashboards but not working with self/manual created dashboards.