dd2tf
dd2tf copied to clipboard
Missing a =
Hi!
Thank you for this tool!
I have one issue and that is that when i fetch data a = is missing. It should be: thresholds = { Look at it below.
Have a nice day!
`resource "datadog_monitor" "38794" { name = "test" type = "query alert" tags = ["team:xxx","env:xxxx","service:xxxxx",] message = <<EOT @slack
This alarm means that..... EOT escalation_message = <<EOT
EOT
query = "sum(last_5m):avg:aws.xxxxxx.incoming_records{name:xxxxxxxxxx-metricstream}.as_count() > 40000" notify_no_data = false renotify_interval = 0 notify_audit = false timeout_h = 0 include_tags = true require_full_window = true new_host_delay = 300 thresholds { critical = 70000.0 }
} `
I had to fix these two parameters to get it compatible with TF v12.x thresholds = { style = {
And also time = {
in screenboard.tmpl