Skip to content

Commit

Permalink
fix test due to accoundId update
Browse files Browse the repository at this point in the history
  • Loading branch information
duranbe committed Sep 4, 2024
1 parent 28db2d2 commit 626cd74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-codepipeline/test/cross-env.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ describe('cross-environment CodePipeline', function () {
const asm = app.synth();
const supportStack = asm.getStackByName(`${pipelineStack.stackName}-support-234567890123`);
Template.fromJSON(supportStack.template).hasResourceProperties('AWS::IAM::Role', {
RoleName: 'pipelinestack-support-456dbuildactionrolebf03938f0cc9a2599be5',
RoleName: 'pipelinestack-support-234dbuildactionrolec4ab6bf1cf3a58f0a3ba',
});

Template.fromStack(pipelineStack).hasResourceProperties('AWS::CodePipeline::Pipeline', {
Expand All @@ -216,7 +216,7 @@ describe('cross-environment CodePipeline', function () {
'Fn::Join': ['', [
'arn:',
{ Ref: 'AWS::Partition' },
':iam::234567890123:role/pipelinestack-support-456dbuildactionrolebf03938f0cc9a2599be5',
':iam::234567890123:role/pipelinestack-support-234dbuildactionrolec4ab6bf1cf3a58f0a3ba',
]],
},
},
Expand Down

0 comments on commit 626cd74

Please sign in to comment.