While creating a threshold profile resource using the site24x7_threshold_profile resource in the Site24x7 Terraform provider, the parameter value within the primary_response_time_trouble_threshold block is not being set correctly. Despite specifying the value, the provider does not apply this setting.
terraform {
required_version = ">= 1.3.9, < 1.6"
required_providers {
site24x7 = {
source = "site24x7/site24x7"
version = ">= 1.0.90"
}
}
}
resource "site24x7_threshold_profile" "rum_application_threshold" {
profile_name = "Default Threshold - RUM-Application"
type = "RUM-Application"
down_location_threshold = 0
primary_response_time_trouble_threshold = {
comparison_operator = 1
value = 2000 # Provider bug. The parameter is not set
polls_check = 5
strategy = 1
severity = 2
}
secondary_response_time_trouble_threshold = {
comparison_operator = 1
value = 0.5 # Provider bug. The parameter is not set
polls_check = 5
strategy = 1
severity = 2
}
}
While creating a threshold profile resource using the
site24x7_threshold_profile
resource in the Site24x7 Terraform provider, the parametervalue
within theprimary_response_time_trouble_threshold
block is not being set correctly. Despite specifying the value, the provider does not apply this setting.