Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.91 KB

sql_dashboard.md

File metadata and controls

49 lines (35 loc) · 1.91 KB
subcategory
Databricks SQL

databricks_sql_dashboard Resource

This resource is used to manage Databricks SQL Dashboards. To manage SQLA resources you must have databricks_sql_access on your databricks_group or databricks_user.

Note: documentation for this resource is a work in progress.

A dashboard may have one or more widgets.

Example Usage

resource "databricks_sql_dashboard" "d1" {
  name = "My Dashboard Name"

  tags = [
    "some-tag",
    "another-tag",
  ]
}

Example permission to share dashboard with all users:

resource "databricks_permissions" "d1" {
  sql_dashboard_id = databricks_sql_dashboard.d1.id

  access_control {
    group_name       = data.databricks_group.users.display_name
    permission_level = "CAN_RUN"
  }
}

Import

-> Note Importing this resource is not currently supported.

Related Resources

The following resources are often used in the same context: