Skip to content

Commit 6e2cfa7

Browse files
authored
fix simplified deployment (#225)
1 parent 715037d commit 6e2cfa7

File tree

1 file changed

+1
-1
lines changed
  • terraform/databricks/databricks-workspace

1 file changed

+1
-1
lines changed

terraform/databricks/databricks-workspace/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ module "adb_sso_pe" {
145145
private_connection_resource_id = azurerm_databricks_workspace.adl_databricks[0].id
146146
subresource_names = ["browser_authentication"]
147147
is_manual_connection = false
148-
private_dns_zone_ids = var.frontend_private_dns_zone_ids
148+
private_dns_zone_ids = var.private_link_deployment_type == "simplified" ? var.backend_private_dns_zone_ids : var.frontend_private_dns_zone_ids
149149
tags = var.tags
150150
module_enabled = var.module_enabled && var.is_private_endpoint && (var.is_web_auth_workspace || var.private_link_deployment_type == "webauth")
151151
}

0 commit comments

Comments
 (0)