Closed jobinjosem closed 3 years ago
Can you try adding @batchSize(1)
about the auamodules
resource declaration? This will ensure the modules deploy serially instead of in parallel.
@batchSize(1)
resource auamodules '...' = ...
This seems to be working @alex-frankel Thank you.
Bicep version Bicep CLI version 0.4.613
Describe the bug I am trying to create an automation account and import a few modules. The automation account is created successfully but some modules has dependency on other module How to add a dependency on those modules. I know we can do it while we add each module as separate modules but I am trying to import all modules in a single module using for loop.
To Reproduce
Here I am trying to import the modules but the
Az.Network
andAZ.Storage
has a dependency onAZ.Accounts
. So I have to add that dependency only while network and storage modules are getting imported.