I'm having the same issue when deploying an Azure Document Intelligence resource using Terraform. If I create it manually within the Azure Portal, it shows up with the proper endpoint URL (https://.cognitiveservices.azure.com"), instead it's showing https://.api.cognitive.microsoft.com
Does anyone know how to resolve this when deploying via Terraform?