databricks_mws_ncc_private_endpoint_rule Resource

Allows you to create a private endpoint in a Network Connectivity Config that can be used to configure private connectivity from serverless compute.

Example Usage

variable "region" {}
variable "prefix" {}

resource "databricks_mws_network_connectivity_config" "ncc" {
  provider = databricks.account
  name     = "Network Connectivity Config for ${var.prefix}"
  region   = var.region
}

resource "databricks_mws_ncc_private_endpoint_rule" "storage" {
  provider                       = databricks.account
  network_connectivity_config_id = databricks_mws_network_connectivity_config.ncc.network_connectivity_config_id
  resource_id                    = "/subscriptions/653bb673-1234-abcd-a90b-d064d5d53ca4/resourcegroups/example-resource-group/providers/Microsoft.Storage/storageAccounts/examplesa"
  group_id                       = "blob"
}

Argument Reference

The following arguments are available:

Attribute Reference

In addition to all arguments above, the following attributes are exported:

Import

This resource can be imported by Databricks account ID and Network Connectivity Config ID.

terraform import databricks_mws_ncc_private_endpoint_rule.rule <network_connectivity_config_id>/<rule_id>

The following resources are used in the context: