Lists all databricks_mws_workspaces in Databricks Account.
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 data source exports the following attributes:
ids
- name-to-id map for all of the workspaces in the accountThe following resources are used in the same context: