terraform-provider-databricks icon indicating copy to clipboard operation
terraform-provider-databricks copied to clipboard

[FEATURE] Support `databricks_mws_ncc_private_endpoint_rule` for AWS VPC endpoints

Open bgrams opened this issue 6 months ago • 4 comments
trafficstars

Use-cases

Support databricks_mws_ncc_private_endpoint_rule for AWS VPC endpoints. Latest docs include a note that "This feature is only available in Azure."

Attempted Solutions

None, this is a manual process for us today

Proposal

Perhaps something like

resource "databricks_mws_ncc_private_endpoint_rule" "vpce" {
    network_connectivity_config_id = databricks_mws_network_connectivity_config.ncc.network_connectivity_config_id
    
    endpoint_service = "com.amazonaws.vpce.us-west-2.vpce-svc-xyz"
    domain_names     = ["subdomain.internal.net"]
}

References

This API is still undocumented for AWS deployments, but it uses the same endpoint as with Azure and requires a payload that is consistent with what is proposed above.

bgrams avatar May 01 '25 23:05 bgrams

@bgrams we need it in the API spec to being available in Go SDK...

alexott avatar May 07 '25 04:05 alexott

Ah... that would make sense

bgrams avatar May 07 '25 04:05 bgrams

We are using the api's provided by databricks support although not officially in the api-spec to create and delete private endpoint rule. Is there a reason this is not officially in the api-sec ? It would be great to have this supported in terraform instead of having to invoke what seems like unofficial api's on production workspace.

kshetty2 avatar Jun 09 '25 15:06 kshetty2

Looks like its available now https://docs.databricks.com/api/account/networkconnectivity/createprivateendpointrule

bgrams avatar Jun 13 '25 17:06 bgrams