Add retries for sqlcmd
in sqlserver.bicep
#2098
Labels
bug
Something isn't working
customer-reported
identify a customer issue
needs-team-attention
Issues out of a milestone
Milestone
Problem
sqlcmd (relevant code here) often fails to connect to the newly provisioned database when
azd provision
runs, with error:"Database '<>' is not currently available. Please retry this connection later."
Example failures:
Fix
sqlcmd
is logging errors to standard out or standard error, and if there's something we can change here. The logs from sqlcmd are not showing up in the github action logs, which are first parsed by Microsoft.Resources/deploymentScripts service. There should be a way to get the logs to show up and avoid the extra step of troubleshooting for the user.The text was updated successfully, but these errors were encountered: