Hmm, everything should be in parallel by default unless there are dependencies.
c
colossal-room-15708
03/31/2020, 7:35 AM
That was my assumption. I'll test one / two more times. It might've been a fluke. Maybe. The Azure APIs are a bit "slow" today.
e
enough-oil-63049
04/01/2020, 2:03 AM
I've had more of a problem with contention within Azure when deploying VPN Gateway, ExpressRoute Gateway and Azure Firewall at the same time as trying to associate subnets and route tables. So I have been experimenting with introducing dependencies in order to reduce contention.
enough-oil-63049
04/14/2020, 11:19 AM
I have found that strategically adding depends_on prevents all the retryable errors I was seeing previously in Azure Activity Log e.g. gateways and firewalls depends_on both the gateway and firewall subnet, and other subnets depends_on gateways and firewalls. Without this contention I have 50 odd resources deploy in less than half an hour - times out otherwise