Skip to content

Commit

Permalink
Changes for no_public_ip
Browse files Browse the repository at this point in the history
  • Loading branch information
favoretti committed Jan 20, 2023
1 parent 853cfaa commit d55e304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ func resourceDatabricksWorkspace() *pluginsdk.Resource {

"no_public_ip": {
Type: pluginsdk.TypeBool,
ForceNew: true,
Optional: true,
Computed: true,
AtLeastOneOf: workspaceCustomParametersString(),
Expand Down
4 changes: 3 additions & 1 deletion website/docs/r/databricks_workspace.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ A `custom_parameters` block supports the following:

* `public_ip_name` - (Optional) Name of the Public IP for No Public IP workspace with managed vNet. Defaults to `nat-gw-public-ip`. Changing this forces a new resource to be created.

* `no_public_ip` - (Optional) Are public IP Addresses not allowed? Possible values are `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
* `no_public_ip` - (Optional) Are public IP Addresses not allowed? Possible values are `true` or `false`. Defaults to `false`.

~> **NOTE** Updating `no_public_ip` parameter is only allowed if the value is changing from `false` to `true` and and only for VNet-injected workspaces.

* `public_subnet_name` - (Optional) The name of the Public Subnet within the Virtual Network. Required if `virtual_network_id` is set. Changing this forces a new resource to be created.

Expand Down

0 comments on commit d55e304

Please sign in to comment.