Skip to content

laurmurclar/datadog-to-terraform

Repository files navigation

Datadog to Terraform Converter

Converts Datadog monitor and dashboard JSON into Terraform alarm code.

Installation

Chrome Extension | Firefox Add-on

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.

Click to enlarge:


Contributing

We'd love for folks to contribute! Feel free to add your own ideas or take a look at the issues for inspiration. The Contributing Guide explains development setup and the release process.