grafana_playlist (Resource)

Example Usage

resource "grafana_playlist" "test" {
  name     = "My Playlist!"
  interval = "5m"

  item {
    // Order is required, and is the order in which the dashboards will be displayed
    // The block order is ignored
    order = 2
    title = "Terraform Dashboard By Tag"
    type  = "dashboard_by_tag"
    value = "terraform"
  }

  item {
    order = 1
    title = "Terraform Dashboard By ID"
    type  = "dashboard_by_id"
    value = "3"
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for item

Required:

Optional:

Read-Only:

Import

Import is supported using the following syntax:

terraform import grafana_playlist.name "{{ uid }}"
terraform import grafana_playlist.name "{{ orgID }}:{{ uid }}"