File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 55 "Initializer" : {
66 "Type" : " Task" ,
77 "Resource" : " ${initializerArn}" ,
8- "Next" : " Branching " ,
8+ "Next" : " versionPublisher " ,
99 "ResultPath" : " $.powerValues" ,
1010 "TimeoutSeconds" : ${totalExecutionTimeout },
1111 "Catch" : [
1616 }
1717 ]
1818 },
19+ "versionPublisher" : {
20+ "Type" : " Task" ,
21+ "Resource" : " ${versionPublisherArn}" ,
22+ "Next" : " IsCountReached" ,
23+ "ResultPath" : " $.powerValues" ,
24+ "TimeoutSeconds" : ${totalExecutionTimeout },
25+ "Catch" : [{
26+ "ErrorEquals" : [ " States.ALL" ],
27+ "Next" : " CleanUpOnError" ,
28+ "ResultPath" : " $.error"
29+ }]
30+ },
31+ "IsCountReached" : {
32+ "Type" : " Choice" ,
33+ "Choices" : [
34+ {
35+ "Variable" : " $.powerValues.iterator.continue" ,
36+ "BooleanEquals" : true ,
37+ "Next" : " versionPublisher"
38+ }
39+ ],
40+ "Default" : " Branching"
41+ },
1942 "Branching" : {
2043 "Type" : " Map" ,
2144 "Next" : " Cleaner" ,
22- "ItemsPath" : " $.powerValues" ,
45+ "ItemsPath" : " $.powerValues.powerValues " ,
2346 "ResultPath" : " $.stats" ,
2447 "ItemSelector" : {
2548 "input.$" : " $" ,
83106 "End" : true
84107 }
85108 }
86- }
109+ }
Original file line number Diff line number Diff line change @@ -295,6 +295,7 @@ Resources:
295295 DefinitionUri : statemachine/statemachine.asl.json
296296 DefinitionSubstitutions :
297297 initializerArn : !GetAtt initializer.Arn
298+ versionPublisherArn : !GetAtt versionPublisher.Arn
298299 executorArn : !GetAtt executor.Arn
299300 cleanerArn : !GetAtt cleaner.Arn
300301 analyzerArn : !GetAtt analyzer.Arn
@@ -303,4 +304,4 @@ Resources:
303304
304305Outputs :
305306 StateMachineARN :
306- Value : !Ref powerTuningStateMachine
307+ Value : !Ref powerTuningStateMachine
You can’t perform that action at this time.
0 commit comments