Datadog Terraform Provider Version
v3.46.0
Terraform Version
v1.7.4
What resources or data sources are affected?
resource_datadog_monitor
Terraform Configuration Files
resource "datadog_monitor" "monitor" {
...
type = "metric alert"
on_missing_data = "default"
...
}
Relevant debug or panic output
No debug or panic output
Expected Behavior
According to https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/monitor#on_missing_data, "This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors."
I would expect this to fail on my example configuration with metric alert monitors.
Actual Behavior
I tested this and actually it works fine with metric alert type monitors. Just wanted to double check, that this behavior will continue to be supported and potentially it is just the documentation that is outdated?
Steps to Reproduce
No response
Important Factoids
No response
References
No response
Datadog Terraform Provider Version
v3.46.0
Terraform Version
v1.7.4
What resources or data sources are affected?
resource_datadog_monitor
Terraform Configuration Files
resource "datadog_monitor" "monitor" {
...
type = "metric alert"
on_missing_data = "default"
...
}
Relevant debug or panic output
No debug or panic output
Expected Behavior
According to https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/monitor#on_missing_data, "This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors."
I would expect this to fail on my example configuration with metric alert monitors.
Actual Behavior
I tested this and actually it works fine with metric alert type monitors. Just wanted to double check, that this behavior will continue to be supported and potentially it is just the documentation that is outdated?
Steps to Reproduce
No response
Important Factoids
No response
References
No response