Adding multiple hostNameBindings to a webapp #14247
tjerkmellink
started this conversation in
Authoring Help
Replies: 1 comment 1 reply
-
Try the following https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/loops#deploy-in-batches
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version: Bicep CLI version v0.28.1.
Description: Adding multiple hostname bindings to webapp.
Detailed Message: "Cannot modify this site because another operation is in progress."
I have the following Bicep definition:
parameter file:
Main.bicep file
In this example we have 5 custom hostname bindings. When deploying this template the preview (what-if) works fine. However, when we deploy the code it fails with the above error. When using a single hostname binding it works.
The underlying problem is that the webapp cannot process multiple updates at the same time and would need some kind of 'DependOn' dependency.
Is there any guideline on how to deploy multiple hostname bindings to the same web app?
Beta Was this translation helpful? Give feedback.
All reactions