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

Vikrant 20 Reputation points
2023-09-17T14:36:41.7166667+00:00

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.
2,275 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.
484 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 39,641 Reputation points Microsoft Employee
    2023-09-18T04:10:28.7833333+00:00

    @Vikrant

    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.

    Thanks,

    Kapil


    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

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more