Can we attach existing network interface to private endpoint in azure using terrafrom ??

Vikrant 20 Reputation points

Hi all,

Is it possible to attache muntiple private endpoint with single network interface using terraform.

I have a some private endpoint attached with multiple resources.

Each of private endpoint creates a new network interface bu ti want to attache all private endpoint to a single network interface for security reasons.

if it is possible please assist me.

User's image

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
1,670 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
384 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 23,406 Reputation points Microsoft Employee


    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to use a single NIC for multiple Private EndPoints.

    • Please note that a private endpoint creates a "managed" NIC.
    • This is different from the NIC we create for a virtual machine and unlike VM NICs, this managed NIC is Read-Only and is completely maintained by the platform.
    • Users will not be able to modify this or make custom configurations.

    This is documented in the FAQ Section as well

    Can I modify my Private Endpoint Network Interface Card (NIC)?

    When a private endpoint is created, a read-only NIC is assigned. The NIC can't be modified and will remain for the life cycle of the Private endpoint.

    So, the suggestion is that you use multiple managed NICs for the PEs in a single Subnet.

    And apply NSG or UDR in the subnet where these NICs are deployed.

    Please let us know if we can be of any further assistance here.



    Please Accept an answer if correct.

    Original posters help the community find answers faster by identifying the correct answer.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful