Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (27 sloc) 1021 Bytes
layout page_title sidebar_current description
New Relic: newrelic_synthetics_monitor
Grabs a synthetics monitor by name.

Data Source: newrelic_synthetics_monitor

Use this data source to get information about a specific synthetics monitor in New Relic that already exists. This can be used to set up a Synthetics alert condition.

Example Usage

data "newrelic_synthetics_monitor" "bar" {
  name = "bar"

resource "newrelic_synthetics_alert_condition" "baz" {
  policy_id = "${}"

  name        = "baz"
  monitor_id  = "${}"
  runbook_url = ""

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the synthetics monitor in New Relic.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • monitor_id - The ID of the synthetics monitor.
You can’t perform that action at this time.