-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azd provision --no-prompt
does not see detect deleted SQL Server
#4334
Comments
@vhvb1989 any thoughts on why this could happen? |
@ryanheath , can you describe how the SQL Server was deleted? |
Via the Azure Portal | Delete Button on the resource | Skipped the feedback | confirmed the name | delete SQL server resource. |
Hi @ryanheath, We have an optimization in You can pass The output here was trying to get the point across (with the skipped line) :
Perhaps we should update the copy to be something like this:
Do you think if there had been text like that it might have been a little more clear about what was going on and helped you solve the issue yourself? |
@ryanheath , that's expected by design. Azd's cache is based on changed to the AppHost (your program) and the last deployment to Azure. |
But will it redeploy existing resources too? |
@ryanheath It will not overwrite/redeploy anything that it does not need to. If you have changed properties for existing resources manually in the portal it will change them back to their previous values, but if there are no changes the ARM deployment engine is smart enough to make no changes (the reason we did additional work in Note in Aspire the |
Unfortunately we had already deleted the whole resource group ... |
Thanks, that's good information for us to have. We'll look into if this optimization is still paying for itself. Glad to hear you got things working, FWIW, it is "safe" to always pass |
azd provision --no-prompt
does not detect a deleted Azure SQL Server.Other components are being recreated/deployed, but not Azure SQL Server.
What are we doing wrong?
Note, we are using
azd config set alpha.aca.persistDomains on
maybe it is related?
Output of azd (latest version is installed via
https://aka.ms/install-azd.sh
)The text was updated successfully, but these errors were encountered: