Skip to content

Latest commit

 

History

History
executable file
·
40 lines (26 loc) · 1.24 KB

mws_workspaces.md

File metadata and controls

executable file
·
40 lines (26 loc) · 1.24 KB
subcategory
Deployment

databricks_mws_workspaces Data Source

Lists all databricks_mws_workspaces in Databricks Account.

-> This data source can only be used with an account-level provider!

Example Usage

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
}

Attribute Reference

-> 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

Related Resources

The following resources are used in the same context: