How to deploy the bicep codes in Complete mode from azd? #2519
-
Bicep's default deployment mode is Incremental mode, but I want to manage the resources in Complete mode. In bicep, the |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I am also interested in the answer to this question considering that we now have deployment stacks. |
Beta Was this translation helpful? Give feedback.
-
I'm afraid @savannahostrowski @ellismg @rajeshkamal5050. We can easily add an argument to Let me know what you think. |
Beta Was this translation helpful? Give feedback.
-
Coming from terraform I wonder why complete isn't even the default. Lets say I have a prod environment deployed with azd. Do I really have to manually delete that service? |
Beta Was this translation helpful? Give feedback.
-
Any update regarding this feature? Currently this is blocking our company from fully using azd. Both having it as an argument |
Beta Was this translation helpful? Give feedback.
-
With #4165 in latest release 1.10.1, we added deployment stacks support in Note that this is still a slightly different behavior than Bicep |
Beta Was this translation helpful? Give feedback.
With #4165 in latest release 1.10.1, we added deployment stacks support in
azd
as an alpha feature. If you enable this alpha feature, resources that you delete in Bicep files are automatically deleted in Azure when you runazd provision
. Would this work for your scenario?Note that this is still a slightly different behavior than Bicep
Complete
mode -- where resources in the resource group not referenced in the Bicep files are deleted automatically.