Skip to content

Commit 8096cc8

Browse files
easelnfx
andauthored
Clarify optionality of databricks_mws_workspaces.deployment_name in docs and examples (#1315)
* Drop deployment_name from aws-workspaces worked example * Reflect optionality in references to deployment_name * Apply suggestions from code review Co-authored-by: Serge Smertin <[email protected]>
1 parent b28d0ff commit 8096cc8

File tree

5 files changed

+1
-7
lines changed

5 files changed

+1
-7
lines changed

docs/guides/aws-private-link-workspace.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ resource "databricks_mws_workspaces" "this" {
289289
account_id = var.databricks_account_id
290290
aws_region = var.region
291291
workspace_name = local.prefix
292-
deployment_name = local.prefix
293292
credentials_id = databricks_mws_credentials.this.credentials_id
294293
storage_configuration_id = databricks_mws_storage_configurations.this.storage_configuration_id
295294
network_id = databricks_mws_networks.this.network_id

docs/guides/aws-workspace.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ resource "databricks_mws_workspaces" "this" {
263263
account_id = var.databricks_account_id
264264
aws_region = var.region
265265
workspace_name = local.prefix
266-
deployment_name = local.prefix
267266
268267
credentials_id = databricks_mws_credentials.this.credentials_id
269268
storage_configuration_id = databricks_mws_storage_configurations.this.storage_configuration_id

docs/resources/mws_private_access_settings.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ resource "databricks_mws_workspaces" "this" {
3232
account_id = var.databricks_account_id
3333
aws_region = var.region
3434
workspace_name = local.prefix
35-
deployment_name = local.prefix
3635
credentials_id = databricks_mws_credentials.this.credentials_id
3736
storage_configuration_id = databricks_mws_storage_configurations.this.storage_configuration_id
3837
network_id = databricks_mws_networks.this.network_id

docs/resources/mws_vpc_endpoint.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ resource "databricks_mws_workspaces" "this" {
120120
account_id = var.databricks_account_id
121121
aws_region = var.region
122122
workspace_name = local.prefix
123-
deployment_name = local.prefix
124123
credentials_id = databricks_mws_credentials.this.credentials_id
125124
storage_configuration_id = databricks_mws_storage_configurations.this.storage_configuration_id
126125
network_id = databricks_mws_networks.this.network_id

docs/resources/mws_workspaces.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ resource "databricks_mws_workspaces" "this" {
6868
provider = databricks.mws
6969
account_id = var.databricks_account_id
7070
workspace_name = var.prefix
71-
deployment_name = var.prefix
7271
aws_region = var.region
7372
7473
credentials_id = databricks_mws_credentials.this.credentials_id
@@ -181,7 +180,6 @@ resource "databricks_mws_workspaces" "this" {
181180
provider = databricks.mws
182181
account_id = var.databricks_account_id
183182
workspace_name = local.prefix
184-
deployment_name = local.prefix
185183
aws_region = "us-east-1"
186184
187185
credentials_id = databricks_mws_credentials.this.credentials_id
@@ -206,7 +204,7 @@ The following arguments are available and cannot be changed after workspace is c
206204

207205
* `account_id` - Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
208206
* `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.
209-
* `deployment_name` - (Optional) part of URL: `https://<deployment-name>.cloud.databricks.com`
207+
* `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.
210208
* `workspace_name` - name of the workspace, will appear on UI
211209
* `aws_region` - AWS region of VPC
212210
* `storage_configuration_id` - `storage_configuration_id` from [storage configuration](mws_storage_configurations.md)

0 commit comments

Comments
 (0)