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
[Internal] Bug fixed in databricks_mws_workspaces resource due to migration of resource to Go SDK (#4652)
## Changes
<!-- Summary of your changes that are easy to understand -->
Reverts change in
#4633
and set computed for workspace_status and vpc_status until they are
fixed internally.
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
N/A
- [ ] `make test` run locally
- [ ] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] using Go SDK
- [ ] using TF Plugin Framework
Copy file name to clipboardExpand all lines: docs/resources/mws_workspaces.md
+7-11
Original file line number
Diff line number
Diff line change
@@ -323,7 +323,6 @@ 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.
327
326
*`aws_region` - (AWS only) region of VPC.
328
327
*`storage_configuration_id` - (AWS only)`storage_configuration_id` from [storage configuration](mws_storage_configurations.md).
329
328
*`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.
@@ -332,9 +331,7 @@ The following arguments are available:
332
331
*`cloud_resource_container` - (GCP only) A block that specifies GCP workspace configurations, consisting of following blocks:
333
332
*`gcp` - A block that consists of the following field:
334
333
*`project_id` - The Google Cloud project ID, which the workspace uses to instantiate cloud resources for your 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:
334
+
*`gke_config` - (GCP only) A block that specifies GKE configuration for the Databricks workspace:
338
335
*`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`.
339
336
*`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`.
340
337
*`private_access_settings_id` - (Optional) Canonical unique identifier of [databricks_mws_private_access_settings](mws_private_access_settings.md) in Databricks Account.
@@ -354,25 +351,24 @@ You can specify a `token` block in the body of the workspace resource, so that T
354
351
355
352
On AWS, the following arguments could be modified after the workspace is running:
356
353
357
-
*`credentials_id`
358
-
*`custom_tags`
359
-
*`managed_services_customer_managed_key_id`
360
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.
361
-
*`private_access_settings_id`
355
+
*`credentials_id`
362
356
*`storage_customer_managed_key_id`
357
+
*`private_access_settings_id`
358
+
*`custom_tags`
363
359
364
360
## Attribute Reference
365
361
366
362
In addition to all arguments above, the following attributes are exported:
367
363
368
364
*`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`
372
365
*`workspace_id` - (String) workspace id
373
366
*`workspace_status_message` - (String) updates on workspace status
374
367
*`workspace_status` - (String) workspace status
368
+
*`creation_time` - (Integer) time when workspace was created
375
369
*`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