When trying to create a site24x7_threshold_profile of the type URL, with:
resource "site24x7_threshold_profile" "this_url" {
profile_name = "${var.name}-url"
type = "URL"
// 1 - Static Threshold
profile_type = 1
website_content_modified = true
website_content_changes {
severity = 0 // Down
value = var.url_content_changes_threshold
}
read_time_out = {
severity = 0 // Down
value = true
}
}
I'm getting the following error:
│ Error: expected website_content_changes.0.severity to be one of [2 3], got 0
│
│ with site24x7_threshold_profile.this_url,
│ on threshold_profile.tf line 8, in resource "site24x7_threshold_profile" "this_url":
│ 8: resource "site24x7_threshold_profile" "this_url" {
Even though 0 is a supported value based on what is allowed in UI and described in doc
When trying to create a site24x7_threshold_profile of the type URL, with:
I'm getting the following error:
Even though
0
is a supported value based on what is allowed in UI and described in doc