terraform-provider-site24x7 icon indicating copy to clipboard operation
terraform-provider-site24x7 copied to clipboard

response_headers_severity does not allow down value

Open valugi opened this issue 8 months ago • 0 comments

This is about a website monitor attribute called response_headers_severity. The documentation states that the possible values are DOWN 0 - or Trouble 2. Setting this to 0 in terraform does not work - the value gets set back to 2.

  # module.spof_website.site24x7_website_monitor.website will be updated in-place
  ~ resource "site24x7_website_monitor" "website" {
        id                          = "396627000019683030"
      ~ response_headers_severity   = 2 -> 0

The same behavior happens in the web interface - Down value is not saved.

https://registry.terraform.io/providers/site24x7/site24x7/latest/docs/resources/website_monitor#response_headers_severity

valugi avatar Jun 24 '24 14:06 valugi