Skip to content

Commit 185048e

Browse files
Set concurrency to 100%
1 parent da85333 commit 185048e

File tree

4 files changed

+32
-13
lines changed

4 files changed

+32
-13
lines changed

modules/services/agentless-scanning/organizational.tf

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,10 @@ resource "aws_cloudformation_stack_set_instance" "scanning_role_stackset_instanc
138138
organizational_unit_ids = local.organizational_unit_ids
139139
}
140140
operation_preferences {
141-
max_concurrent_count = 10
141+
# max_concurrent_count = 10
142+
max_concurrent_percentage = 100
143+
failure_tolerance_percentage = 100
144+
// Roles are not regional and hence do not need regional parallelism
142145
}
143146

144147
timeouts {
@@ -219,8 +222,10 @@ resource "aws_cloudformation_stack_set_instance" "mgmt_acc_stackset_instance" {
219222

220223
stack_set_name = aws_cloudformation_stack_set.mgmt_acc_resources_stackset[0].name
221224
operation_preferences {
222-
max_concurrent_count = 10
223-
region_concurrency_type = "PARALLEL"
225+
# max_concurrent_count = 10
226+
max_concurrent_percentage = 100
227+
failure_tolerance_percentage = 100
228+
region_concurrency_type = "PARALLEL"
224229
}
225230

226231
timeouts {
@@ -309,8 +314,10 @@ resource "aws_cloudformation_stack_set_instance" "ou_stackset_instance" {
309314
organizational_unit_ids = local.organizational_unit_ids
310315
}
311316
operation_preferences {
312-
max_concurrent_count = 10
313-
region_concurrency_type = "PARALLEL"
317+
# max_concurrent_count = 10
318+
max_concurrent_percentage = 100
319+
failure_tolerance_percentage = 100
320+
region_concurrency_type = "PARALLEL"
314321
}
315322

316323
timeouts {

modules/services/event-bridge/organizational.tf

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,10 @@ resource "aws_cloudformation_stack_set_instance" "stackset_instance" {
133133
organizational_unit_ids = local.organizational_unit_ids
134134
}
135135
operation_preferences {
136-
max_concurrent_count = 10
137-
region_concurrency_type = "PARALLEL"
136+
# max_concurrent_count = 10
137+
max_concurrent_percentage = 100
138+
failure_tolerance_percentage = 100
139+
region_concurrency_type = "PARALLEL"
138140
}
139141

140142
timeouts {
@@ -151,8 +153,10 @@ resource "aws_cloudformation_stack_set_instance" "mgmt_acc_stackset_instance" {
151153
stack_set_name = aws_cloudformation_stack_set.mgmt-stackset[0].name
152154

153155
operation_preferences {
154-
max_concurrent_count = 10
155-
region_concurrency_type = "PARALLEL"
156+
# max_concurrent_count = 10
157+
max_concurrent_percentage = 100
158+
failure_tolerance_percentage = 100
159+
region_concurrency_type = "PARALLEL"
156160
}
157161

158162
timeouts {
@@ -171,8 +175,10 @@ resource "aws_cloudformation_stack_set_instance" "eb_role_stackset_instance" {
171175
organizational_unit_ids = local.organizational_unit_ids
172176
}
173177
operation_preferences {
174-
max_concurrent_count = 10
175-
region_concurrency_type = "PARALLEL"
178+
# max_concurrent_count = 10
179+
max_concurrent_percentage = 100
180+
failure_tolerance_percentage = 100
181+
// Roles are not regional and hence do not need regional parallelism
176182
}
177183

178184
timeouts {

modules/services/trust-relationship/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,10 @@ resource "aws_cloudformation_stack_set_instance" "stackset_instance" {
206206
organizational_unit_ids = local.org_units_to_deploy
207207
}
208208
operation_preferences {
209-
max_concurrent_count = 10
209+
# max_concurrent_count = 10
210+
max_concurrent_percentage = 100
211+
failure_tolerance_percentage = 100
212+
// Roles are not regional and hence do not need regional parallelism
210213
}
211214

212215
timeouts {

modules/services/workload-scanning/organizational.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ resource "aws_cloudformation_stack_set_instance" "scanning_role_stackset_instanc
8787
organizational_unit_ids = local.organizational_unit_ids
8888
}
8989
operation_preferences {
90-
max_concurrent_count = 10
90+
# max_concurrent_count = 10
91+
max_concurrent_percentage = 100
92+
failure_tolerance_percentage = 100
93+
// Roles are not regional and hence do not need regional parallelism
9194
}
9295

9396
timeouts {

0 commit comments

Comments
 (0)