Private endpoint not available for connection


I have setup a private connection to a 7.0.11 mongo cluster in REGION AWS Oregon (us-west-2), with CLUSTER TIER M2 (General). The vpc endpoint is available and the private endpoint on the mongo ui is also available. Both are on the same region.

But when i go on the connect on the ui or read the data source for the private endpoints through terrafor, connection string is not available.

Is there something else i need to configure for it to be available in the connection stage. I have done the same in opther projects and they worked, but not here.

m2s are shared and can’t have private endpoints