Skip to content

Commit

Permalink
update docs regarding importing of SQL resources (#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexott authored May 31, 2022
1 parent e1cb79a commit 3c63875
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
7 changes: 6 additions & 1 deletion docs/resources/sql_dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <dashboard-id>
```


## Related Resources

Expand Down
6 changes: 5 additions & 1 deletion docs/resources/sql_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <query-id>
```

## Related Resources

Expand Down
6 changes: 5 additions & 1 deletion docs/resources/sql_visualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <query-id>/<visualization-id>
```

## Related Resources

Expand Down
6 changes: 5 additions & 1 deletion docs/resources/sql_widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <dashboard-id>/<widget-id>
```

## Related Resources

Expand Down

0 comments on commit 3c63875

Please sign in to comment.