azureterraformazure-synapseazure-rm

How to use Terraform to approve a Managed Private Endpoint on a Blob Storage ADLS Gen2?


I have created several managed private endpoints on a Synapse Analytics workspace using Terraform. Now I do not know how to "Approve" them since I cannot seem to find the right resource to perform this action.

To do it manually I need to go to the Storage account -> Networks -> Private Endpoints, selected the ones to be "Approved" and press Approve.


Solution

  • As of today, you can't approve a Managed Private Endpoint using Terraform.

    You may checkout the Synapse Managed Private Endpoint - auto_approval option which has already asked in the hashicorp.

    Note: Azure PowerShell and Azure CLI are the preferred methods for managing Private Endpoint connections on Microsoft Partner Services or customer owned services.

    For more details, refer to Manage Private Endpoint connections on a customer/partner owned Private Link service.