diff --git a/packages/aws-cdk-lib/aws-stepfunctions/test/state-machine.test.ts b/packages/aws-cdk-lib/aws-stepfunctions/test/state-machine.test.ts index ab91c0ee39660..7055ad2fad5d5 100644 --- a/packages/aws-cdk-lib/aws-stepfunctions/test/state-machine.test.ts +++ b/packages/aws-cdk-lib/aws-stepfunctions/test/state-machine.test.ts @@ -597,8 +597,8 @@ describe('State Machine', () => { // THEN Template.fromStack(stack).hasResourceProperties('AWS::StepFunctions::StateMachineVersion', { - StateMachineArn: { Ref: 'MyStateMachine' }, - StateMachineRevisionId: { 'Fn::GetAtt': ['MyStateMachine', 'StateMachineRevisionId'] }, + StateMachineArn: { Ref: 'MyStateMachine6C968CA5' }, + StateMachineRevisionId: { 'Fn::GetAtt': ['MyStateMachine6C968CA5', 'StateMachineRevisionId'] }, }); }); });