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"
}
}
interval
(String)item
(Block Set, Min: 1) (see below for nested schema)name
(String) The name of the playlist.org_id
(String) The Organization ID. If not set, the Org ID defined in the provider block will be used.id
(String) The ID of this resource.item
Required:
order
(Number)title
(String)Optional:
type
(String)value
(String)Read-Only:
id
(String)Import is supported using the following syntax:
terraform import grafana_playlist.name "{{ uid }}"
terraform import grafana_playlist.name "{{ orgID }}:{{ uid }}"