Skip to content

Errors when deploying a firewall rule with multiple IP groups #10118

Answered by kevball2
leelax22 asked this question in General
Discussion options

You must be logged in to vote

Have you tried adding a dependency from the first IP Group to the second (dependsOn: [ipgroup_nat])? Forcing a dependcy on the completion of the first IPGroup may give it time to complete successfully. You could also put your IPGroups into an array and loop over them using the @batchsize(1) decorator to run the deployments serially.

I am seeing the same issue with deploying more than one firewall rule collection group. Azure support has recommended adding some kind of delay to allow for each to complete successfully, The @batchsize decorator should create this delay by adding a dependency for the previous iteration of the loop.

@batchSize(1)
module firewallPolicy_ruleCollectionGroups '../…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@dima-b
Comment options

@bendiksygnestveit
Comment options

@leelax22
Comment options

@dima-b
Comment options

@kro-cat
Comment options

Answer selected by leelax22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #10033 on March 15, 2023 19:21.