diff --git a/src/VNet/PrivateEndpoint.ts b/src/VNet/PrivateEndpoint.ts index 2649ae8..9aae41d 100644 --- a/src/VNet/PrivateEndpoint.ts +++ b/src/VNet/PrivateEndpoint.ts @@ -39,10 +39,20 @@ export default ({ }, ] : undefined, + ipConfigurations: privateIpAddress + ? [ + { + name: `${name}-ipconfig`, + groupId: linkServiceGroupIds[0], + memberName: linkServiceGroupIds[0], + privateIPAddress: privateIpAddress, + }, + ] + : undefined, privateLinkServiceConnections: [ { - groupIds: linkServiceGroupIds, name: `${name}-conn`, + groupIds: linkServiceGroupIds, privateLinkServiceId: resourceInfo.id, }, ],