How to make a REST call through terraform to a private Azure resource?
I do not this this question needs to be Azure resource-specific, but I will provide my background. I currently have Terraform code that creates an Azure AI Search service, disables public network access, and connects it to a private endpoint. This private endpoint is connected to the same virtual network and subnet as a CosmosDB Mongo resource, which holds the data I want to index from.