You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Exporter] **Breaking change** Use new query and alert resources instead of legacy resources (#4150)
## Changes
<!-- Summary of your changes that are easy to understand -->
This change replaces legacy `databricks_sql_query` and
`databricks_sql_alert` with new resources `databricks_query` and
`databricks_alert`. Also, services `sql-queries` and `sql-alerts` are
renamed to `queries` and `alerts`.
Other changes include:
* Improve performance of Lakeview dashboards scan by using bigger page
size
* Generalize `isMatchingCatalogAndSchema` implementation for use in
multiple resources where attribute names could be different
* Generalize handling of `/Workspace` prefix when emitting notebooks,
workspace files and directories.
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
- [x] `make test` run locally
- [x] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] relevant acceptance tests are passing
- [x] using Go SDK
*`directories` - **listing**[databricks_directory](../resources/directory.md). *Please note that directories aren't listed when running in the incremental mode! Only directories with updated notebooks will be emitted.*
@@ -123,13 +124,12 @@ Services are just logical groups of resources used for filtering and organizatio
*`secrets` - **listing**[databricks_secret_scope](../resources/secret_scope.md) along with [keys](../resources/secret.md) and [ACLs](../resources/secret_acl.md).
*`sql-dashboards` - **listing**[databricks_sql_dashboard](../resources/sql_dashboard.md) along with associated [databricks_sql_widget](../resources/sql_widget.md) and [databricks_sql_visualization](../resources/sql_visualization.md).
131
+
*`sql-dashboards` - **listing** Legacy [databricks_sql_dashboard](../resources/sql_dashboard.md) along with associated [databricks_sql_widget](../resources/sql_widget.md) and [databricks_sql_visualization](../resources/sql_visualization.md).
131
132
*`sql-endpoints` - **listing**[databricks_sql_endpoint](../resources/sql_endpoint.md) along with [databricks_sql_global_config](../resources/sql_global_config.md).
*`storage` - only [databricks_dbfs_file](../resources/dbfs_file.md) and [databricks_file](../resources/file.md) referenced in other resources (libraries, init scripts, ...) will be downloaded locally and properly arranged into terraform state.
134
134
*`uc-artifact-allowlist` - **listing** exports [databricks_artifact_allowlist](../resources/artifact_allowlist.md) resources for Unity Catalog Allow Lists attached to the current metastore.
135
135
*`uc-catalogs` - **listing**[databricks_catalog](../resources/catalog.md) and [databricks_workspace_binding](../resources/workspace_binding.md)
0 commit comments