You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"newrelic_synthetics_monitor" {
source="./modules/newrelic/r/newrelic_synthetics_monitor"# bypass_head_request - (optional) is a type of boolbypass_head_request=null# frequency - (required) is a type of numberfrequency=null# locations - (required) is a type of set of stringlocations=[]
# name - (required) is a type of stringname=null# sla_threshold - (optional) is a type of numbersla_threshold=null# status - (required) is a type of stringstatus=null# treat_redirect_as_failure - (optional) is a type of booltreat_redirect_as_failure=null# type - (required) is a type of stringtype=null# uri - (optional) is a type of stringuri=null# validation_string - (optional) is a type of stringvalidation_string=null# verify_ssl - (optional) is a type of boolverify_ssl=null
}
variable"bypass_head_request" {
description="(optional) - Bypass HEAD request."type=booldefault=null
}
variable"frequency" {
description="(required) - The interval (in minutes) at which this monitor should run. Valid values are 1, 5, 10, 15, 30, 60, 360, 720, or 1440."type=number
}
variable"locations" {
description="(required) - The locations in which this monitor should be run."type=set(string)
}
variable"name" {
description="(required) - The title of this monitor."type=string
}
variable"sla_threshold" {
description="(optional) - The base threshold for the SLA report."type=numberdefault=null
}
variable"status" {
description="(required) - The monitor status (i.e. ENABLED, MUTED, DISABLED)."type=string
}
variable"treat_redirect_as_failure" {
description="(optional) - Fail the monitor check if redirected."type=booldefault=null
}
variable"type" {
description="(required) - The monitor type. Valid values are SIMPLE, BROWSER, SCRIPT_BROWSER, and SCRIPT_API."type=string
}
variable"uri" {
description="(optional) - The URI for the monitor to hit."type=stringdefault=null
}
variable"validation_string" {
description="(optional) - The string to validate against in the response."type=stringdefault=null
}
variable"verify_ssl" {
description="(optional) - Verify SSL."type=booldefault=null
}
resource"newrelic_synthetics_monitor""this" {
# bypass_head_request - (optional) is a type of boolbypass_head_request=var.bypass_head_request# frequency - (required) is a type of numberfrequency=var.frequency# locations - (required) is a type of set of stringlocations=var.locations# name - (required) is a type of stringname=var.name# sla_threshold - (optional) is a type of numbersla_threshold=var.sla_threshold# status - (required) is a type of stringstatus=var.status# treat_redirect_as_failure - (optional) is a type of booltreat_redirect_as_failure=var.treat_redirect_as_failure# type - (required) is a type of stringtype=var.type# uri - (optional) is a type of stringuri=var.uri# validation_string - (optional) is a type of stringvalidation_string=var.validation_string# verify_ssl - (optional) is a type of boolverify_ssl=var.verify_ssl
}