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
Copy file name to clipboardExpand all lines: docs/resources/mws_workspaces.md
+11-7
Original file line number
Diff line number
Diff line change
@@ -323,6 +323,7 @@ The following arguments are available:
323
323
*`deployment_name` - (Optional) part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
324
324
*`workspace_name` - name of the workspace, will appear on UI.
325
325
*`network_id` - (Optional) `network_id` from [networks](mws_networks.md).
326
+
*`credentials_id` - (AWS only) ID of the workspace's credential configuration object.
326
327
*`aws_region` - (AWS only) region of VPC.
327
328
*`storage_configuration_id` - (AWS only)`storage_configuration_id` from [storage configuration](mws_storage_configurations.md).
328
329
*`managed_services_customer_managed_key_id` - (Optional) `customer_managed_key_id` from [customer managed keys](mws_customer_managed_keys.md) with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
@@ -331,7 +332,9 @@ The following arguments are available:
331
332
*`cloud_resource_container` - (GCP only) A block that specifies GCP workspace configurations, consisting of following blocks:
332
333
*`gcp` - A block that consists of the following field:
333
334
*`project_id` - The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your workspace.
334
-
*`gke_config` - (GCP only) A block that specifies GKE configuration for the Databricks workspace:
335
+
*`gcp_managed_network_config` - (GCP only) A block that describes the network configuration for workspaces with Databricks-managed networks.
336
+
*`subnet_cidr` - The IP range from which to allocate GKE cluster nodes. No bigger than `/9` and no smaller than `/29`.
337
+
*`gke_config` - (GCP only, deprecated) A block that specifies GKE configuration for the Databricks workspace:
335
338
*`connectivity_type`: Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`.
336
339
*`master_ip_range`: The IP range from which to allocate GKE cluster master resources. This field will be ignored if GKE private cluster is not enabled. It must be exactly as big as `/28`.
337
340
*`private_access_settings_id` - (Optional) Canonical unique identifier of [databricks_mws_private_access_settings](mws_private_access_settings.md) in Databricks Account.
@@ -351,24 +354,25 @@ You can specify a `token` block in the body of the workspace resource, so that T
351
354
352
355
On AWS, the following arguments could be modified after the workspace is running:
353
356
354
-
*`network_id` - Modifying [networks on running workspaces](mws_networks.md#modifying-networks-on-running-workspaces-aws-only) would require three separate `terraform apply` steps.
355
357
*`credentials_id`
356
-
*`storage_customer_managed_key_id`
357
-
*`private_access_settings_id`
358
358
*`custom_tags`
359
+
*`managed_services_customer_managed_key_id`
360
+
*`network_id` - Modifying [networks on running workspaces](mws_networks.md#modifying-networks-on-running-workspaces-aws-only) would require three separate `terraform apply` steps.
361
+
*`private_access_settings_id`
362
+
*`storage_customer_managed_key_id`
359
363
360
364
## Attribute Reference
361
365
362
366
In addition to all arguments above, the following attributes are exported:
363
367
364
368
*`id` - (String) Canonical unique identifier for the workspace, of the format `<account-id>/<workspace-id>`
369
+
*`creation_time` - (Integer) time when workspace was created
370
+
*`custom_tags` - (Map) Custom Tags (if present) added to workspace
371
+
*`gcp_workspace_sa` - (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
365
372
*`workspace_id` - (String) workspace id
366
373
*`workspace_status_message` - (String) updates on workspace status
367
374
*`workspace_status` - (String) workspace status
368
-
*`creation_time` - (Integer) time when workspace was created
369
375
*`workspace_url` - (String) URL of the workspace
370
-
*`custom_tags` - (Map) Custom Tags (if present) added to workspace
371
-
*`gcp_workspace_sa` - (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
0 commit comments