You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a SQL user on a new server/database that is using private endpoints and has public access disabled. There seems to be either a timing or DNS caching issue, as if I retry the deployment again then it will succeed.
Error: unable to create user [sqldb].[sqldbuser]: mssql: login error: Reason: An instance-specific error occurred while establishing a connection to SQL Server. Connection was denied since Deny Public Network Access is set to Yes (https://docs.microsoft.com/azure/azure-sql/database/connectivity-settings#deny-public-network-access). To connect to this server, use the Private Endpoint from inside your virtual network (https://docs.microsoft.com/azure/sql-database/sql-database-private-endpoint-overview#how-to-set-up-private-link-for-azure-sql-database).
I have tried adding in a time_sleep resource and also using a data resource for azurerm_mssql_server without success.
I am trying to create a SQL user on a new server/database that is using private endpoints and has public access disabled. There seems to be either a timing or DNS caching issue, as if I retry the deployment again then it will succeed.
I have tried adding in a time_sleep resource and also using a data resource for azurerm_mssql_server without success.
The text was updated successfully, but these errors were encountered: