subcategory |
---|
Deployment |
Lists all databricks_mws_workspaces in Databricks Account.
-> This data source can only be used with an account-level provider!
Listing all workspaces in
provider "databricks" {
// other configuration
account_id = "<databricks account id>"
}
data "databricks_mws_workspaces" "all" {}
output "all_mws_workspaces" {
value = data.databricks_mws_workspaces.all.ids
}
-> This resource has an evolving interface, which may change in future versions of the provider.
This data source exports the following attributes:
ids
- name-to-id map for all of the workspaces in the account
The following resources are used in the same context:
- databricks_mws_workspaces to manage Databricks Workspaces on AWS and GCP.
- databricks_metastore_assignment to assign databricks_metastore to databricks_mws_workspaces or azurerm_databricks_workspace