terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[Exporter] Skip exporting of tables and dashboards created by lakehouse monitoring
Collect table names and dashboard IDs from the get API:
and ignore them when generating resources
- Think about their dependencies...
- Think about legacy monitoring dashboards - that aren't using lakeview, and create queries, etc.
@alexott what's the intent behind ignoring those tables for resource generation?
Just trying to understand this because I have a related issue:
- I use the
Schemaresource to create one and then reference it for creating aLakehouseMonitor - However, I am unable to destroy the stack due to the inclusion of the two tables. I get an error like this:
cannot delete schema: Schema 'sandbox.example' is not empty. The schema has 2 tables(s), 0 functions(s), 0 volumes(s)
it's for exporter - because these tables/dashboards are handled by quality monitors. Also, it's not implemented yet