From 344d2ccabe38a12b4f62de4f618f4504408182b9 Mon Sep 17 00:00:00 2001 From: Alex Ott Date: Tue, 31 May 2022 17:21:03 +0200 Subject: [PATCH] update docs regarding importing of SQL resources this fixes #1181 --- docs/resources/sql_dashboard.md | 7 ++++++- docs/resources/sql_query.md | 6 +++++- docs/resources/sql_visualization.md | 6 +++++- docs/resources/sql_widget.md | 6 +++++- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/docs/resources/sql_dashboard.md b/docs/resources/sql_dashboard.md index 39de50f85d..e26c83a619 100644 --- a/docs/resources/sql_dashboard.md +++ b/docs/resources/sql_dashboard.md @@ -37,7 +37,12 @@ resource "databricks_permissions" "d1" { ## Import --> **Note** Importing this resource is not currently supported. +You can import a `databricks_sql_dashboard` resource with ID like the following: + +```bash +$ terraform import databricks_sql_dashboard.this +``` + ## Related Resources diff --git a/docs/resources/sql_query.md b/docs/resources/sql_query.md index fde228e3ff..25b3142850 100644 --- a/docs/resources/sql_query.md +++ b/docs/resources/sql_query.md @@ -60,7 +60,11 @@ resource "databricks_permissions" "q1" { ## Import --> **Note** Importing this resource is not currently supported. +You can import a `databricks_sql_query` resource with ID like the following: + +```bash +$ terraform import databricks_sql_query.this +``` ## Related Resources diff --git a/docs/resources/sql_visualization.md b/docs/resources/sql_visualization.md index aca2648c23..32917138c1 100644 --- a/docs/resources/sql_visualization.md +++ b/docs/resources/sql_visualization.md @@ -44,7 +44,11 @@ resource "databricks_sql_visualization" "q1v1" { ## Import --> **Note** Importing this resource is not currently supported. +You can import a `databricks_sql_visualization` resource with ID like the following: + +```bash +$ terraform import databricks_sql_visualization.this / +``` ## Related Resources diff --git a/docs/resources/sql_widget.md b/docs/resources/sql_widget.md index e832f44f09..1c38f09652 100644 --- a/docs/resources/sql_widget.md +++ b/docs/resources/sql_widget.md @@ -39,7 +39,11 @@ resource "databricks_sql_widget" "d1w2" { ## Import --> **Note** Importing this resource is not currently supported. +You can import a `databricks_sql_widget` resource with ID like the following: + +```bash +$ terraform import databricks_sql_widget.this / +``` ## Related Resources