Skip to content

Commit

Permalink
fix: template error while using distributed_map
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaydk committed Jan 16, 2023
1 parent 1c0b347 commit 5dc95b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/deploy/stepFunctions/compileIamRole.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ function getStepFunctionsPermissions(state) {
let stateMachineArn = state.Mode === 'DISTRIBUTED' ? {
'Fn::Sub': [
`arn:aws:states:\${AWS::Region}:\${AWS::AccountId}:stateMachine:${state.StateMachineName}`,
{},
],
} : null;

Expand Down

0 comments on commit 5dc95b9

Please sign in to comment.