Skip to content

Missing a = #22

@sojjan1337

Description

@sojjan1337

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
}

}
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions