terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[FEATURE] Support `databricks_mws_ncc_private_endpoint_rule` for AWS VPC endpoints
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 we need it in the API spec to being available in Go SDK...
Ah... that would make sense
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.
Looks like its available now https://docs.databricks.com/api/account/networkconnectivity/createprivateendpointrule