-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3270b0e
commit 07488e3
Showing
2 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
# Datadog to Terraform Converter | ||
Converts Datadog monitor JSON into Terraform alarm code. | ||
|
||
Converts Datadog monitor and dashboard JSON into Terraform alarm code. | ||
|
||
## Installation | ||
|
||
[Chrome Extension](https://chrome.google.com/webstore/detail/datadog-to-terraform-conv/lafmglpipgongjmbbjngmboifpaodemk) | [Firefox Add-on](https://addons.mozilla.org/en-US/firefox/addon/datadog-to-terraform-converter/) | ||
|
||
## How to Use | ||
1. Create your monitor (but don't save) in the Datadog UI and copy the monitor JSON. | ||
1. Open the extension, fill in the resource name and paste in the monitor JSON. | ||
|
||
1. Create your monitor or dashboard in the Datadog UI and copy the JSON. | ||
1. Open the extension, fill in the resource name and paste in the JSON. | ||
1. 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: | ||
![](http://g.recordit.co/Bk7jSES5E7.gif) | ||
|
||
**** | ||
--- | ||
|
||
## 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](CONTRIBUTING.md) explains development setup and the release process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters