diff --git a/packages/@aws-cdk/aws-codepipeline/test/integ.cfn-template-from-repo.lit.expected.json b/packages/@aws-cdk/aws-codepipeline/test/integ.cfn-template-from-repo.lit.expected.json index 313d1a5f5ac39..dae148a9056bc 100644 --- a/packages/@aws-cdk/aws-codepipeline/test/integ.cfn-template-from-repo.lit.expected.json +++ b/packages/@aws-cdk/aws-codepipeline/test/integ.cfn-template-from-repo.lit.expected.json @@ -247,7 +247,7 @@ "InputArtifacts": [], "Name": "ApproveChanges", "OutputArtifacts": [], - "RunOrder": 1 + "RunOrder": 2 }, { "ActionTypeId": { @@ -264,7 +264,7 @@ "InputArtifacts": [], "Name": "ExecuteChanges", "OutputArtifacts": [], - "RunOrder": 1 + "RunOrder": 3 } ], "Name": "Deploy" diff --git a/packages/@aws-cdk/aws-codepipeline/test/integ.cfn-template-from-repo.lit.ts b/packages/@aws-cdk/aws-codepipeline/test/integ.cfn-template-from-repo.lit.ts index fcb20bdd3f97d..0b408ecea9fcd 100644 --- a/packages/@aws-cdk/aws-codepipeline/test/integ.cfn-template-from-repo.lit.ts +++ b/packages/@aws-cdk/aws-codepipeline/test/integ.cfn-template-from-repo.lit.ts @@ -35,12 +35,17 @@ const prodStage = { changeSetName, adminPermissions: true, templatePath: source.outputArtifact.atPath('template.yaml'), + runOrder: 1, + }), + new codepipeline.ManualApprovalAction({ + actionName: 'ApproveChanges', + runOrder: 2, }), - new codepipeline.ManualApprovalAction({ actionName: 'ApproveChanges' }), new cfn.PipelineExecuteChangeSetAction({ actionName: 'ExecuteChanges', stackName, changeSetName, + runOrder: 3, }), ], };