From e8c4b2fcca344b6c32ebcab6a0ef03a6e3b683fd Mon Sep 17 00:00:00 2001 From: Vladimir Lazarenko Date: Fri, 14 Jun 2024 13:49:27 +0200 Subject: [PATCH] `azurerm_databrocks_workspace`: Fix disabling default firewall Fixes #26213 --- internal/services/databricks/databricks_workspace_resource.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/services/databricks/databricks_workspace_resource.go b/internal/services/databricks/databricks_workspace_resource.go index a415d413e451..a93f30512d30 100644 --- a/internal/services/databricks/databricks_workspace_resource.go +++ b/internal/services/databricks/databricks_workspace_resource.go @@ -630,9 +630,10 @@ func resourceDatabricksWorkspaceCreateUpdate(d *pluginsdk.ResourceData, meta int } workspace.Properties.AccessConnector = &accessConnectorProperties - workspace.Properties.DefaultStorageFirewall = &defaultStorageFirewallEnabled } + workspace.Properties.DefaultStorageFirewall = &defaultStorageFirewallEnabled + if requireNsgRules != "" { requiredNsgRulesConst := workspaces.RequiredNsgRules(requireNsgRules) workspace.Properties.RequiredNsgRules = &requiredNsgRulesConst