observe_default_dashboard

Manages the default dashboard for a dataset. This will be displayed in the UI when opening the dataset.

Example Usage

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

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

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

resource "observe_default_dashboard" "example" {
  dataset   = observe_dataset.example.oid
  dashboard = observe_dashboard.example.oid
}

Schema

Required

  • dashboard (String)

  • dataset (String)

Read-Only

  • id (String) The ID of this resource.

Import

Import is supported using the following syntax:

# Use the dataset ID to import the default dashboard
terraform import observe_default_dashboard.example 1414010