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

inconsistency in default value

Open valugi opened this issue 7 months ago • 0 comments

For web_page_speed_monitor, for check_frequency parameter the default value is 1 (String) and is measured in minutes. According to the example in the docs. If I set 1 or 5 as a value I get an exception that is not even very clear - implying that the parameter is not supported, not the value. "Check frequency not supported."

https://registry.terraform.io/providers/site24x7/site24x7/latest/docs/resources/web_page_speed_monitor

But for this type of monitor the minimal value is 10. https://www.site24x7.com/help/api/#check-interval

I would make it an integer and set the default to 10 instead and update the docs.

valugi avatar Jul 01 '24 19:07 valugi