DataDog / terraform-provider-datadog

Terraform Datadog provider
https://www.terraform.io/docs/providers/datadog/
Mozilla Public License 2.0
399 stars 375 forks source link

[datadog_synthetics_test] Do not send `field` if empty #2533

Closed Drarig29 closed 1 month ago

Drarig29 commented 1 month ago

Closes https://github.com/DataDog/terraform-provider-datadog/issues/2531

This PR is a follow up of a fix in our backend, where part of a request wasn't fully validated, resulting in silent errors.

Now that this was fixed in the backend, it revealed that Terraform was always sending a field property, even when not allowed.