diff --git a/README.md b/README.md index 154619f..3f9120f 100644 --- a/README.md +++ b/README.md @@ -27,22 +27,30 @@ No modules. |------|------| | [newrelic_alert_policy.critical_apm_error_rate](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/alert_policy) | resource | | [newrelic_alert_policy.critical_apm_response_time](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/alert_policy) | resource | +| [newrelic_alert_policy.critical_browser_pageload](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/alert_policy) | resource | | [newrelic_alert_policy.non_critical_apm_error_rate](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/alert_policy) | resource | | [newrelic_alert_policy.non_critical_apm_response_time](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/alert_policy) | resource | +| [newrelic_alert_policy.non_critical_browser_pageload](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/alert_policy) | resource | | [newrelic_alert_policy.synthetics](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/alert_policy) | resource | | [newrelic_notification_channel.critical_apm_error_rate](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_channel) | resource | | [newrelic_notification_channel.critical_apm_response_time](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_channel) | resource | +| [newrelic_notification_channel.critical_browser_pageload](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_channel) | resource | | [newrelic_notification_channel.non_critical_apm_error_rate](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_channel) | resource | | [newrelic_notification_channel.non_critical_apm_response_time](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_channel) | resource | +| [newrelic_notification_channel.non_critical_browser_pageload](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_channel) | resource | | [newrelic_notification_channel.synthetics](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_channel) | resource | | [newrelic_notification_destination.critical_apm](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_destination) | resource | +| [newrelic_notification_destination.critical_browser](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_destination) | resource | | [newrelic_notification_destination.non_critical_apm](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_destination) | resource | +| [newrelic_notification_destination.non_critical_browser](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_destination) | resource | | [newrelic_notification_destination.synthetics](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/notification_destination) | resource | | [newrelic_nrql_alert_condition.browser_critical_health_synthetics](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | | [newrelic_nrql_alert_condition.browser_noncritical_health_synthetics](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | +| [newrelic_nrql_alert_condition.critical_browser_pageload](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | | [newrelic_nrql_alert_condition.critical_error_rate](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | | [newrelic_nrql_alert_condition.critical_health_synthetics](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | | [newrelic_nrql_alert_condition.critical_response_time](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | +| [newrelic_nrql_alert_condition.non_critical_browser_pageload](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | | [newrelic_nrql_alert_condition.non_critical_error_rate](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | | [newrelic_nrql_alert_condition.non_critical_response_time](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | | [newrelic_nrql_alert_condition.noncritical_health_synthetics](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/nrql_alert_condition) | resource | @@ -54,8 +62,10 @@ No modules. | [newrelic_synthetics_step_monitor.step](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/synthetics_step_monitor) | resource | | [newrelic_workflow.critical_apm_error_rate](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/workflow) | resource | | [newrelic_workflow.critical_apm_response_time](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/workflow) | resource | +| [newrelic_workflow.critical_browser_pageload](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/workflow) | resource | | [newrelic_workflow.non_critical_apm_error_rate](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/workflow) | resource | | [newrelic_workflow.non_critical_apm_response_time](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/workflow) | resource | +| [newrelic_workflow.non_critical_browser_pageload](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/workflow) | resource | | [newrelic_workflow.this](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/resources/workflow) | resource | | [pagerduty_service.critical](https://registry.terraform.io/providers/PagerDuty/pagerduty/3.4.0/docs/resources/service) | resource | | [pagerduty_service.non_critical](https://registry.terraform.io/providers/PagerDuty/pagerduty/3.4.0/docs/resources/service) | resource | @@ -64,6 +74,7 @@ No modules. | [pagerduty_service_integration.non_critical](https://registry.terraform.io/providers/PagerDuty/pagerduty/3.4.0/docs/resources/service_integration) | resource | | [pagerduty_service_integration.non_critical_events_API_v2](https://registry.terraform.io/providers/PagerDuty/pagerduty/3.4.0/docs/resources/service_integration) | resource | | [pagerduty_service_integration.synthetics_newrelic](https://registry.terraform.io/providers/PagerDuty/pagerduty/3.4.0/docs/resources/service_integration) | resource | +| [newrelic_entity.browser_application](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/data-sources/entity) | data source | | [newrelic_entity.this](https://registry.terraform.io/providers/newrelic/newrelic/3.52.0/docs/data-sources/entity) | data source | | [pagerduty_escalation_policy.ep](https://registry.terraform.io/providers/PagerDuty/pagerduty/3.4.0/docs/data-sources/escalation_policy) | data source | | [pagerduty_vendor.vendor](https://registry.terraform.io/providers/PagerDuty/pagerduty/3.4.0/docs/data-sources/vendor) | data source | @@ -72,15 +83,15 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [broken\_links\_monitors](#input\_broken\_links\_monitors) | n/a |
map(object({
name = string
type = optional(string, "BROKEN_LINKS")
uri = string
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
period = optional(string, "EVERY_5_MINUTES")
status = optional(string, "ENABLED")
runtime_type = optional(string, "NODE_API")
runtime_type_version = optional(string, "16.10")
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
critical_response_time = optional(number, 0.7)
non_critical_response_time = optional(number, 0.5)
critical_error_rate = optional(number, 15)
non_critical_error_rate = optional(number, 7)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
create_non_critical_apm_resources = optional(bool, false)
create_critical_apm_resources = optional(bool, false)
newrelic_entity_domain = optional(string, "APM")
newrelic_entity_type = optional(string, "APPLICATION")
}))
| `{}` | no | -| [browser\_monitors](#input\_browser\_monitors) | n/a |
map(object({
name = string
uri = string
type = optional(string, "BROWSER")
period = optional(string, "EVERY_5_MINUTES")
status = optional(string, "ENABLED")
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
validation_string = optional(string, "")
verify_ssl = optional(bool, true)
custom_header = optional(list(map(string)))
runtime_type = optional(string, "CHROME_BROWSER")
runtime_type_version = optional(string, "100")
script_language = optional(string, "JAVASCRIPT")
devices = optional(list(string), ["DESKTOP", "MOBILE_LANDSCAPE", "MOBILE_PORTRAIT", "TABLET_LANDSCAPE", "TABLET_PORTRAIT"])
browsers = optional(list(string), ["CHROME", "FIREFOX"])
critical_browser_synthetics_operator = optional(string, "above_or_equals")
critical_browser_synthetics_threshold = optional(number, 2)
critical_browser_synthetics_threshold_duration = optional(number, 300)
critical_browser_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_browser_synthetics_expiration_duration = optional(number, 300)
critical_browser_synthetics_aggregation_window = optional(number, 300)
non_critical_browser_synthetics_operator = optional(string, "above_or_equals")
non_critical_browser_synthetics_threshold = optional(number, 1.5)
non_critical_browser_synthetics_threshold_duration = optional(number, 900)
non_critical_browser_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_browser_synthetics_expiration_duration = optional(number, 600)
non_critical_browser_synthetics_aggregation_window = optional(number, 300)
critical_response_time = optional(number, 0.7)
non_critical_response_time = optional(number, 0.5)
critical_error_rate = optional(number, 15)
non_critical_error_rate = optional(number, 7)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
create_non_critical_apm_resources = optional(bool, false)
create_critical_apm_resources = optional(bool, false)
newrelic_entity_domain = optional(string, "APM")
newrelic_entity_type = optional(string, "APPLICATION")
}))
| `{}` | no | -| [cert\_check\_monitors](#input\_cert\_check\_monitors) | n/a |
map(object({
name = string
type = optional(string, "CERT_CHECK")
domain = string
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
certificate_expiration = optional(string, "10")
period = optional(string, "EVERY_DAY")
status = optional(string, "ENABLED")
runtime_type = optional(string, "NODE_API")
runtime_type_version = optional(string, "16.10")
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
critical_response_time = optional(number, 0.7)
non_critical_response_time = optional(number, 0.5)
critical_error_rate = optional(number, 15)
non_critical_error_rate = optional(number, 7)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
create_non_critical_apm_resources = optional(bool, false)
create_critical_apm_resources = optional(bool, false)
newrelic_entity_domain = optional(string, "APM")
newrelic_entity_type = optional(string, "APPLICATION")
}))
| `{}` | no | +| [broken\_links\_monitors](#input\_broken\_links\_monitors) | n/a |
map(object({
name = string
type = optional(string, "BROKEN_LINKS")
uri = string
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
period = optional(string, "EVERY_5_MINUTES")
status = optional(string, "ENABLED")
runtime_type = optional(string, "NODE_API")
runtime_type_version = optional(string, "16.10")
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
}))
| `{}` | no | +| [browser\_monitors](#input\_browser\_monitors) | n/a |
map(object({
name = string
uri = string
type = optional(string, "BROWSER")
period = optional(string, "EVERY_5_MINUTES")
status = optional(string, "ENABLED")
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
validation_string = optional(string, "")
verify_ssl = optional(bool, true)
custom_header = optional(list(map(string)))
runtime_type = optional(string, "CHROME_BROWSER")
runtime_type_version = optional(string, "100")
script_language = optional(string, "JAVASCRIPT")
devices = optional(list(string), ["DESKTOP", "MOBILE_LANDSCAPE", "MOBILE_PORTRAIT", "TABLET_LANDSCAPE", "TABLET_PORTRAIT"])
browsers = optional(list(string), ["CHROME", "FIREFOX"])
critical_browser_synthetics_operator = optional(string, "above_or_equals")
critical_browser_synthetics_threshold = optional(number, 2)
critical_browser_synthetics_threshold_duration = optional(number, 300)
critical_browser_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_browser_synthetics_expiration_duration = optional(number, 300)
critical_browser_synthetics_aggregation_window = optional(number, 300)
non_critical_browser_synthetics_operator = optional(string, "above_or_equals")
non_critical_browser_synthetics_threshold = optional(number, 1.5)
non_critical_browser_synthetics_threshold_duration = optional(number, 900)
non_critical_browser_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_browser_synthetics_expiration_duration = optional(number, 600)
non_critical_browser_synthetics_aggregation_window = optional(number, 300)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
create_critical_browser_alert = optional(bool, false)
create_non_critical_browser_alert = optional(bool, false)
critical_browser_pageload = optional(number, 10)
non_critical_browser_pageload = optional(number, 5)
}))
| `{}` | no | +| [cert\_check\_monitors](#input\_cert\_check\_monitors) | n/a |
map(object({
name = string
type = optional(string, "CERT_CHECK")
domain = string
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
certificate_expiration = optional(string, "10")
period = optional(string, "EVERY_DAY")
status = optional(string, "ENABLED")
runtime_type = optional(string, "NODE_API")
runtime_type_version = optional(string, "16.10")
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
}))
| `{}` | no | | [newrelic\_resource\_name\_prefix](#input\_newrelic\_resource\_name\_prefix) | n/a | `string` | `""` | no | | [newrelic\_resource\_name\_suffix](#input\_newrelic\_resource\_name\_suffix) | n/a | `string` | `""` | no | | [pagerduty\_escalation\_policy](#input\_pagerduty\_escalation\_policy) | n/a | `string` | `"Default"` | no | -| [script\_monitors](#input\_script\_monitors) | n/a |
map(object({
name = string
type = optional(string, "SCRIPT_API") # SCRIPT_API or SCRIPT_BROWSER
status = optional(string, "ENABLED")
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
period = optional(string, "EVERY_5_MINUTES")
script = string
runtime_type = optional(string, "NODE_API") # For the SCRIPT_API monitor type, a valid value is NODE_API. For the SCRIPT_BROWSER monitor type, a valid value is CHROME_BROWSER.
runtime_type_version = optional(string, "16.10") # For the SCRIPT_API monitor type, a valid value is 16.10. For the SCRIPT_BROWSER monitor type, a valid value is 100.
script_language = optional(string, "JAVASCRIPT")
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
critical_response_time = optional(number, 0.7)
non_critical_response_time = optional(number, 0.5)
critical_error_rate = optional(number, 15)
non_critical_error_rate = optional(number, 7)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
create_non_critical_apm_resources = optional(bool, false)
create_critical_apm_resources = optional(bool, false)
newrelic_entity_domain = optional(string, "APM")
newrelic_entity_type = optional(string, "APPLICATION")
# SCRIPT_BROWSER only additional values
enable_screenshot_on_failure_and_script = optional(bool, false)
browsers = optional(list(string), ["CHROME", "FIREFOX"])
devices = optional(list(string), ["DESKTOP", "MOBILE_LANDSCAPE", "MOBILE_PORTRAIT", "TABLET_LANDSCAPE", "TABLET_PORTRAIT"])
}))
| `{}` | no | -| [simple\_monitors](#input\_simple\_monitors) | n/a |
map(object({
name = string
uri = string
type = optional(string, "SIMPLE")
period = optional(string, "EVERY_5_MINUTES")
status = optional(string, "ENABLED")
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
validation_string = optional(string, "")
verify_ssl = optional(bool, true)
bypass_head_request = optional(bool, false)
custom_header = optional(list(map(string)))
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
critical_response_time = optional(number, 0.7)
non_critical_response_time = optional(number, 0.5)
critical_error_rate = optional(number, 15)
non_critical_error_rate = optional(number, 7)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
create_non_critical_apm_resources = optional(bool, false)
create_critical_apm_resources = optional(bool, false)
newrelic_entity_domain = optional(string, "APM")
newrelic_entity_type = optional(string, "APPLICATION")
}))
| `{}` | no | -| [step\_monitors](#input\_step\_monitors) | n/a |
map(object({
name = string
type = optional(string, "STEP")
enable_screenshot_on_failure_and_script = optional(bool, false)
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
period = optional(string, "EVERY_5_MINUTES")
status = optional(string, "ENABLED")
runtime_type = optional(string, "CHROME_BROWSER")
runtime_type_version = optional(string, "100")
devices = optional(list(string), ["DESKTOP", "MOBILE_LANDSCAPE", "MOBILE_PORTRAIT", "TABLET_LANDSCAPE", "TABLET_PORTRAIT"])
browsers = optional(list(string), ["CHROME", "FIREFOX"])
steps = list(object({
ordinal = number
type = string
values = list(string)
}))
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
critical_response_time = optional(number, 0.7)
non_critical_response_time = optional(number, 0.5)
critical_error_rate = optional(number, 15)
non_critical_error_rate = optional(number, 7)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
create_non_critical_apm_resources = optional(bool, false)
create_critical_apm_resources = optional(bool, false)
newrelic_entity_domain = optional(string, "APM")
newrelic_entity_type = optional(string, "APPLICATION")
}))
| `{}` | no | +| [script\_monitors](#input\_script\_monitors) | n/a |
map(object({
name = string
type = optional(string, "SCRIPT_API") # SCRIPT_API or SCRIPT_BROWSER
status = optional(string, "ENABLED")
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
period = optional(string, "EVERY_5_MINUTES")
script = string
runtime_type = optional(string, "NODE_API") # For the SCRIPT_API monitor type, a valid value is NODE_API. For the SCRIPT_BROWSER monitor type, a valid value is CHROME_BROWSER.
runtime_type_version = optional(string, "16.10") # For the SCRIPT_API monitor type, a valid value is 16.10. For the SCRIPT_BROWSER monitor type, a valid value is 100.
script_language = optional(string, "JAVASCRIPT")
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
# SCRIPT_BROWSER only additional values
enable_screenshot_on_failure_and_script = optional(bool, false)
browsers = optional(list(string), ["CHROME", "FIREFOX"])
devices = optional(list(string), ["DESKTOP", "MOBILE_LANDSCAPE", "MOBILE_PORTRAIT", "TABLET_LANDSCAPE", "TABLET_PORTRAIT"])
}))
| `{}` | no | +| [simple\_monitors](#input\_simple\_monitors) | n/a |
map(object({
name = string
uri = string
type = optional(string, "SIMPLE")
period = optional(string, "EVERY_5_MINUTES")
status = optional(string, "ENABLED")
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
validation_string = optional(string, "")
verify_ssl = optional(bool, true)
bypass_head_request = optional(bool, false)
custom_header = optional(list(map(string)))
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
critical_response_time = optional(number, 0.7)
non_critical_response_time = optional(number, 0.5)
critical_error_rate = optional(number, 15)
non_critical_error_rate = optional(number, 7)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
create_non_critical_apm_resources = optional(bool, false)
create_critical_apm_resources = optional(bool, false)
}))
| `{}` | no | +| [step\_monitors](#input\_step\_monitors) | n/a |
map(object({
name = string
type = optional(string, "STEP")
enable_screenshot_on_failure_and_script = optional(bool, false)
locations_public = optional(list(string), ["AWS_US_EAST_1", "AWS_EU_WEST_1", "AWS_EU_SOUTH_1"])
period = optional(string, "EVERY_5_MINUTES")
status = optional(string, "ENABLED")
runtime_type = optional(string, "CHROME_BROWSER")
runtime_type_version = optional(string, "100")
devices = optional(list(string), ["DESKTOP", "MOBILE_LANDSCAPE", "MOBILE_PORTRAIT", "TABLET_LANDSCAPE", "TABLET_PORTRAIT"])
browsers = optional(list(string), ["CHROME", "FIREFOX"])
steps = list(object({
ordinal = number
type = string
values = list(string)
}))
critical_synthetics_operator = optional(string, "above_or_equals")
critical_synthetics_threshold = optional(number, 3)
critical_synthetics_threshold_duration = optional(number, 300)
critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
critical_synthetics_expiration_duration = optional(number, 300)
critical_synthetics_aggregation_window = optional(number, 300)
non_critical_synthetics_operator = optional(string, "above_or_equals")
non_critical_synthetics_threshold = optional(number, 1)
non_critical_synthetics_threshold_duration = optional(number, 900)
non_critical_synthetics_threshold_occurrences = optional(string, "at_least_once")
non_critical_synthetics_expiration_duration = optional(number, 600)
non_critical_synthetics_aggregation_window = optional(number, 300)
create_non_critical_monitor = optional(bool, false)
create_critical_monitor = optional(bool, false)
}))
| `{}` | no | ## Outputs