File tree 2 files changed +8
-2
lines changed
modules/adb-with-private-link-standard
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ resource "azurerm_databricks_workspace" "dp_workspace" {
5
5
location = azurerm_resource_group. dp_rg . location
6
6
sku = " premium"
7
7
tags = local. tags
8
- public_network_access_enabled = false
8
+ public_network_access_enabled = var . public_network_access_enabled
9
9
network_security_group_rules_required = " NoAzureDatabricksRules"
10
10
customer_managed_key_enabled = true
11
11
custom_parameters {
Original file line number Diff line number Diff line change @@ -11,4 +11,10 @@ variable "cidr_dp" {
11
11
variable "location" {
12
12
type = string
13
13
description = " (Required) The location for the resources in this module"
14
- }
14
+ }
15
+
16
+ variable "public_network_access_enabled" {
17
+ type = bool
18
+ description = " (Optional, default: false) If access from the public networks should be enabled"
19
+ default = false
20
+ }
You can’t perform that action at this time.
0 commit comments