databricks_mws_network_connectivity_config Resource

Allows you to create a [Network Connectivity Config] that can be used as part of a databricks_mws_workspaces resource to create a Databricks Workspace that leverages serverless network connectivity configs.

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_binding" "ncc_binding" {
  provider                       = databricks.account
  network_connectivity_config_id = databricks_mws_network_connectivity_config.ncc.network_connectivity_config_id
  workspace_id                   = var.databricks_workspace_id
}

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_network_connectivity_config.ncc <account_id>/<network_connectivity_config_id>

The following resources are used in the context: