-
Hello, I have recently deployed an Azure App Service (includes EF Core) using azd CLI. This is still only a DEV environment, no need to preserve the Db or data (yet) so no need for migrations yet, either. I need to make a couple changes to the Db. If I repeat the deployment of the now existing Azure App Service using the same azd CLI steps, does that over-write that instance with the changes AND update the Db? Is there an azd command that "updates" the targeted deployed Azure App Service instance. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @blmiles If you make changes to your IaC (bicep or terraform files) and then run either If your changes are only for the service (application code), you can run |
Beta Was this translation helpful? Give feedback.
Hello @blmiles
If you make changes to your IaC (bicep or terraform files) and then run either
azd up
orazd provision
, azd will run an incremental deployment for your infrastructure. That means any new resources you added will be created but removing resources from your IaC will not make azd to delete them. For updating resources, the deployment will apply the changes when the change is possible. For example, changes the name of a resource might lead to the creation of a new resource (instead of renaming the existing). And there are some changes that can't be applied to some resources after creating them; like changing the consumption model from an App Service might not be possible. For t…