Create Azure Postgres Database with private endpoint using terraform
I am encountering challenges when attempting to create a PostgreSQL flexible server with a private endpoint in Azure using Terraform. Additionally, I have attached a Network Security Group (NSG) to the subnet associated with the PostgreSQL flexible server. Below, I have included the Terraform script and the error message I am receiving.