grafana_library_panel (Resource)

Manages Grafana library panels.

Example Usage

resource "grafana_library_panel" "test" {
  name = "panel"
  model_json = jsonencode({
    gridPos = {
      x = 0
      y = 0
      h = 10
      w = 10
    }
    title   = "panel"
    type    = "text"
    version = 0
  })
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

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