observe_bookmark

Bookmark an Observe resource for easy access.

Example Usage

data "observe_workspace" "default" {
  name = "Default"
}

resource "observe_bookmark_group" "example" {
  workspace = data.observe_workspace.default.oid
  name      = "Example"
}

# Dataset

data "observe_dataset" "example" {
  workspace = data.observe_workspace.default.oid
  name      = "Example"
}

resource "observe_bookmark" "dataset" {
  workspace = data.observe_workspace.default.oid
  name      = "Example"
  target    = data.observe_dataset.example.oid
}

# Dashboard

data "observe_dashboard" "example" {
  workspace = data.observe_workspace.default.oid
  name      = "Example"
}

resource "observe_bookmark" "dashboard" {
  workspace = data.observe_workspace.default.oid
  name      = "Example"
  target    = data.observe_dashboard.example.oid
}

Schema

Required

  • group (String)

  • name (String)

  • target (String) The OID of the resource to bookmark. Datasets and dashboards are currently supported.

Optional

  • bookmark_kind (String) The target page for your bookmark. An appropriate default will be used if not set. Accepted values: dataset, dashboard, log_explorer, metric_explorer

  • icon_url (String)

Read-Only

  • id (String) The ID of this resource.

  • oid (String)

Import

Import is supported using the following syntax:

terraform import observe_boomark.example 1414010